Regexps are not my strong suit, but I'll give it a shot:
PHP Code:
preg_match_all('#<td[^>]*?>(.*?)<\/td>#',$contents_of_page,$idout,PREG_SET_ORDER);
If the opening and closing tag (and all of the information in between the two) are not always going to be on the same line, you will need to add the "s" modifier to make the regex read the whole input as a single line.