If all you need is to strip the table tags you can use Regexp::Token (look in:
Regexp::Token -- Use regular expressions to match tokens). If you want to strip the tabels together with the content of them there are two possibilities:
- The HTML you expect is in some predefined structure, and you can use this additionall structure to write the regexps (but we need to know that structure to help you here).
- There is no additionall structure in the HTML - in this case you need to use a HTML parser (like: HTML::TableExtractor or the whole HTML::Parser).
Some more discussion about those techniques you'll find in:
Scraping HTML: orthodoxy and reality,
Regexps to change HTML tags/attributes,
Parsing nested HTML with just regex