use HTML::TokeParser::Simple; my $text; my $parser = HTML::TokeParser::Simple->new( \$string ); while( my $token = $parser->get_token ) { $text .= $token->as_is if $token->is_text; }
Makeshifts last the longest.
In reply to Re: how to eliminate all html tags in a given string ??
by Aristotle
in thread how to eliminate all html tags in a given string ??
by sugarkannan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |