Hi, I wrote a C to Perl port of the PHP function strip_tags(). http://www.php.net/manual/en/function.strip-tags.php
This is a handy function to strip HTML/XML tags from a string. In opposite to HTML::Strip it accepts a list of allowed tags that should be excluded from stripping. The function implements the same smart state machine as the PHP 5.3.3 version uses and it's much easier to use than the attempts in http://perldoc.perl.org/perlfaq9.html#How-do-I-remove-HTML-from-a-string%3f SYNOPSIS: print strip_tags( $string, "<u><b>" ); I'm thinking of HTML::StripTags as a name. Regards Hinnerk