Hi all:

I'm trying to find every simple mail address in an HTML that is not inside
an A tag.

I have tried this regexp:
(?<!maito\:)([EMAIL PROTECTED](?:\.\w+)+)(?![^<]*?</a>)

But its not working as I expect cause the only address in my tested HTML is:

<a href=mailto:[EMAIL PROTECTED] class="link-home">My address</a>



Any tips?
Manu.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to