I don't know much about perl, but wouldn't it be
$text ~= s/<.*)>//g;
?
Back to the question, removing all HTML tags would be fine, but you might wanna do:
$text ~= s/<(.*?)>/& lt;$1& gt;/g;
without the spaces for & lt; and & gt;.
that'll allow you to display all HTML, but not process it as HTML.
------------------
JohnM - moderator of server side scripting
This message has been edited by JohnM on January 23, 2001 at 04:35 PM