The stupid question is the question not asked | |
PerlMonks |
Re: replace first occurance if it doesn't already matchby toolic (Bishop) |
on Mar 10, 2017 at 16:26 UTC ( [id://1184185]=note: print w/replies, xml ) | Need Help?? |
This works on the input you provided. It looks for the 1st digit followed by an underscore and replaces _ with :. Refer to s///
In Section
Seekers of Perl Wisdom
|
|