I would like to write a regular expression rule to replace everything in between and included the table tag.
For example:
<table class="table1"><tr><td></td></tr></table>
Everything above to be replaced in a string, including the table tag
Using preg_replace