http://qs1969.pair.com?node_id=428254


in reply to Re^2: How to remove HTML tags from text
in thread How to remove HTML tags from text

nope.
$data = <<_END_; <script language="JavaScript"> alert("Boo!") </script > _END_
A /s modifier would help a little, but doesn't solve everything. Eg, what about this tag?
$data = qq{ <img src="hello.jpg" alt="x>y" width="60" height="60" /> } +;

Lesson: never treat HTML parsing as a "back of an envelope" exercise :)

cLive ;-)