BigJoe has asked for the wisdom of the Perl Monks concerning the following question:

I have this HTML file that I need to remove tables out of it but only certain ones. I am using a regex that looks like
$thispage=~s/<TABLE border=0 cellPadding=2 cellSpacing=0>.*<\/TABLE>// +g;

The other tables have different properties. In between the to table tags are anything. I have tried it with /w/W but that just removes everything after the first occurance.