View Single Post
  #3 (permalink)  
Old 07-22-2008, 08:44 PM
curtiss's Avatar
curtiss curtiss is offline
Moderator
 
Join Date: May 2003
Posts: 1,450
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.
__________________
I hate Internet Explorer! Anyone with me?
Reply With Quote