View Single Post
Old 11-06-2008, 04:47 PM   #10 (permalink)
Runar
The Contributor
 
Runar's Avatar
 
Join Date: Nov 2008
Location: Norway
Posts: 58
Thanks: 20
Runar is on a distinguished road
Default

This is why it is a very bad idea to built entire sites using tables, without any ids and classes.

Yes, you may start anywhere using preg_match, but if there are lots of unnamed table rows or cells (or divs for that sake), preg_match is probably not the best solution. If you insist on using regular expressions, then you should know that [\s]+ will match all spaces and line breaks, which is useful search for more than one line.
Send a message via MSN to Runar
Runar is offline  
Reply With Quote