in reply to
Replacing text NOT in an HTML tag
Using a
HTML::Parser
and only running the regex against the text parts is probably the easiest way of achieving this.
"What should it profit a man, if he should win a flame war, yet lose his cool?"
Comment on
Re: Replacing text NOT in an HTML tag
In Section
Seekers of Perl Wisdom