On 03/01/07, Al <[EMAIL PROTECTED]> wrote:
Why not simply capture what you want, rather than try to remove what you don't
want?
Because there are also emails in there in this format:
[EMAIL PROTECTED],
[EMAIL PROTECTED],
[EMAIL PROTECTED]
preg_match_all("%<([EMAIL PROTECTED])>%", $text, $matches);
now print_r($matches[1]) and you see your addresses
Hey, that's pretty good! Thanks. I'm going to go reread and remind
myself why you used % instead of slashes. I should know that, but I
don't.
Thanks.
Dotan Cohen
http://dotancohen.com/howto/firefox_password_manager.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php