On Thu, 7 Oct 2004 12:12:10 -0500 (CDT), Hans H. Anderson <email@xxxxxxxxxxxxxxxx> wrote: > It could be that your $html doesn't match quite right, too (tabs and newlines > differ from $html to the regular expression). So I tried this with success: The 's' modifier will assist with matching across newlines: http://www.php.net/manual/en/reference.pcre.pattern.modifiers.php -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php