
Henning Koch
Deleted
Sep 25, 2000, 5:28 AM
Post #2 of 3
(1182 views)
|
First, read in the HTML file you want to search: $html; open(htmlFile, 'mypage.html'); $html = join("", <htmlFile> ); close(htmlFile); Then strip all <tags> from the HTML: $html =~ s/<[^>]+>//g; Then do your search on $html. HTH, Henning ------------------ PerlBall - Free Perl Source Code Compressor Reduce your scripts to up to 15% of their original size! [This message has been edited by Henning Koch (edited 09-25-2000).]
|