good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: regex to rename last _ with ,by choroba (Cardinal) |
on Sep 11, 2014 at 13:07 UTC ( [id://1100292]=note: print w/replies, xml ) | Need Help?? |
If you know how to replace the first underscore with a comma, just add reverse:
To get back what's after the inserted comma, the following should work:
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
In Section
Seekers of Perl Wisdom
|
|