in reply to regex and HTML
The final match is left as an exercise...undef $/; my $html = <DATA>; $html =~ s/<.+?>//sg; #strips all HTML, in a quick'n'dirty way $html =~ s/\s+/ /sg; #normalizes whitespace
Jeroen
"We are not alone"(FZ)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: regex and HTML
by Beatnik (Parson) on Apr 09, 2001 at 20:14 UTC | |
|
Re: Re: regex and HTML
by toadi (Chaplain) on Apr 09, 2001 at 23:49 UTC |