Richard S. Crawford wrote: > Not quite. I have the same problem.
I tried at test on my localhost. Following works for me: $string = "<html><head><title>Sometime i dont wanna know</title></head><body></body></html>"; if(eregi("<title>(.+)</title>", $string, $arr)) { echo "Title: ".$arr[1]; } else { echo "unknown title"; } This works for me? Regards, Johan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]