<pre><?php$s = <<< TEXT<td>xx<a href=xx>xxx</a>xxxx</td><td>77889</td> <td>1</td> <td>上海</td>TEXT;$p = '#<td.*?>.*?</td>#s';preg_match_all($p, $s, $r);print_r($r);?>