why call the overheads of reg exp when a simple explode will do the job
<?php
$t=array("</TD>","</TR>","</span>","</SPAN>","</a>","</A>","</div>","</DIV>","</b>","</B>","</center>","</CENTER>",);
$r=array("</td>","</tr>","");
$table=str_replace($t,$r,$table);
$rows=explode("</tr>",$table);
foreach($rows as $row)
{
$cells=explode("</td>",$row);
foreach($cells as $cell)
{
$cell=trim(end(explode(">",$cell)));
echo $cell."<br>\n"; // individual cell content
}
}?>