if (preg_match_all('#<td>(.*)</td>#siU', $html, $cellcontent)) { echo('Found the following matches:'); print_r($cellcontent[1]); }