in reply to Re: search and replace is not working as expected...
in thread search and replace is not working as expected...
I also changed the regex delimiter to | so that you don't have to escape the / in </doct>.Yuck, please use something else next time. | is a regex metacharacter, you just opened a can of worms.
Makeshifts last the longest.
In Section
Seekers of Perl Wisdom