Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: not able to replace the element in the middle of the stringby Athanasius (Archbishop) |
on Jul 12, 2016 at 06:06 UTC ( [id://1167596]=note: print w/replies, xml ) | Need Help?? |
Hello lakshmikant, Here’s another hint: you may find the assertion \B useful. See perlrebackslash and “Assertions” under perlre#Regular-Expressions. Hope that helps,
In Section
Seekers of Perl Wisdom
|
|