Then you could use a regex like:my $html = do {local $/;<FILE>};
And that will work ... for a little while - nested tables will throw a monkey wrench into that regex. Your best bet is to RTFM and use a real HTML Parser.$html =~ s/<table[^>]+>.+<\/table>//s;
jeffa
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
In reply to (jeffa) Re: Regular Expression
by jeffa
in thread Regular Expression
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |