http://qs321.pair.com?node_id=178374

dda has asked for the wisdom of the Perl Monks concerning the following question:

Hello All!

Can you give me a simple example of how to filter out all HTML tags in a single line of text, but 'non-HTML' tags should not be filtered? For example:

Should be filtered, the result will be "text1":

<a href="mylink>text1</a>
Should not be filtered, the result will be "<this is a normal text>":
<this is a normal text>

Your help is greatly appreciated.
--dda