PHP regular expression
| From: | Rodrigo Peres | Date: | Tue, 12 Mar 2002 20:52:25 +0000 |
| Subject: | PHP regular expression | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-88235@lists.php.net to get a copy of this message | ||
Hi list,
I have a huge text file with many text on it. I'd like to know if someone
can help in construct a regular expression to delete everything that not
have this pattern "Email: some@email.adress". The part "Email: " is fixed
and the email adress changes. I've tried many time to make the replace with
PHP, but I'm very new to regular expression.
Thank's
Rodrigo
--