$template1 = "<[Tt][Dd] colspan=4.*?class=\"cellhead\">(.*)<\/[Tt][Dd]>";
$template2 = "[\w\W]*?(.*)<\/td>[\w\W]*?(.*)<\/td>[\w\W]*?<\/tr>"/**/;
$template = "(".$template1.")|(".$template2.")";
preg_match_all("/".$template."/",$param['object']->text,$arr,PREG_SET_ORDER);
$param['object']->text = "";
if(count((array)$arr)){return (array)$arr;}
else{ return false; }