Hello everyone!

I'm trying to get the text inside the <BODY> tag, using regular

$area = eregi('(<body)(.*)<">)',$str);

Where $str is the string containing
<body bgcolor="#999999" tex="#..." ...>

When I print  $area, the string contains the entire content of $str. I
get something like:

<body ...>

__________John Monfort_________________
     P E P I E  D E S I G N S
"The world is waiting, are you ready?"

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]

Reply via email to