in reply to Stripping a-href tags from an HTML document
See HTML::Parser.
Definitely easier and more effective.
After Compline,Zaxo