You don't need to use regular expressions, the DOM extension allows you to load an HTML document and do just about anything you like with it.

PHP Code:
$html = new DOMDocument('1.0');
$html->loadHTML($htmlString);

$tds $html->getElementsByTagName('td');

foreach (
$tds as $td) {
    
/* for inner XML / HTML functions - see user [url=http://uk2.php.net/manual/en/book.dom.php#73793]comment[/url] */