There's more than one way to do things | |
PerlMonks |
Re: How would I find a piece of html from a sourcefile.html?by athomason (Curate) |
on May 26, 2000 at 14:27 UTC ( [id://14943]=note: print w/replies, xml ) | Need Help?? |
Comments make HTML extraction even more difficult than it usually is. However, if you're dealing with fairly standard HTML you could use This will grab the string inside the comment; add appropriate qualifiers to the regexp as necessary (or use another on $commented) if you only want to pick certain stuff out.
In Section
Seekers of Perl Wisdom
|
|