Take a look at HTML::Parser or HTML::TokeParser (which is simply an alternative interface for the former).
Super Search can definitely help you on this one. For starters:
In reply to Re: Replacing Text
by bobf
in thread Replacing Text
by pyro.699
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |