preg_match_all("/(]*>)([^<]*)(<\/table>)/", $html, $matches); (seems to find the table tags, but the results are empty)