php-general | 2001122
Date: 12/30/01
- Next message: Brian Clark: "Re: [PHP] Re: Need some Linux/Apache help"
- Previous message: Andrew Hill: "RE: [PHP] Apache Error 500"
- In reply to: Bogdan Stancescu: "Re: [PHP] Fulltext-Search"
- Next in thread: Miles Thompson: "Re: [PHP] Fulltext-Search"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello everyone!
I'm trying to get the text inside the <BODY> tag, using regular
expression.
$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 ...>
<p>
.
.
.
</body>
</html>
__________John Monfort_________________
_+-----------------------------------+_
P E P I E D E S I G N S
www.pepiedesigns.com
"The world is waiting, are you ready?"
-+___________________________________+-
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Brian Clark: "Re: [PHP] Re: Need some Linux/Apache help"
- Previous message: Andrew Hill: "RE: [PHP] Apache Error 500"
- In reply to: Bogdan Stancescu: "Re: [PHP] Fulltext-Search"
- Next in thread: Miles Thompson: "Re: [PHP] Fulltext-Search"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

