in reply to Remove HTML tags from document
You could use HTML::TokeParser::Simple and only print text tags.
#almost straight from the TokeParser::Simple POD use HTML::TokeParser::Simple; my $p = HTML::TokeParser::Simple->new( $somefile ); while ( my $token = $p->get_token ) { print $token->as_is if $token->is_text; }
HTH
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Remove HTML tags from document
by matth (Monk) on Aug 04, 2003 at 09:18 UTC | |
by pzbagel (Chaplain) on Aug 04, 2003 at 09:47 UTC | |
by matth (Monk) on Aug 04, 2003 at 10:04 UTC |