more useful options | |
PerlMonks |
Re: replace a character based on rule fileby kcott (Archbishop) |
on Dec 04, 2012 at 08:17 UTC ( [id://1007029]=note: print w/replies, xml ) | Need Help?? |
G'day lakssreedhar, You haven't actually asked a question - please take a look at: How do I post a question effectively? For the scenario you describe, I'd be looking at a positive look-behind assertion - see perlre - Extended Patterns for details. Here's an example:
-- Ken
In Section
Seekers of Perl Wisdom
|
|