in reply to
Regex for replacing multiple nested matches
Frequently, the easiest way to process the end of a string first is to reverse the string (and the pattern). You may have to reverse it again when you are done.
Bill
Comment on
Re: Regex for replacing multiple nested matches
In Section
Seekers of Perl Wisdom