in reply to Substitution outside of HTML TAGS

use HTML::Filter, part of the LWP library. Trivial to write "pass everything through except hack this" applications.

-- Randal L. Schwartz, Perl hacker