In article <[EMAIL PROTECTED]>, Jason Wong wrote:
> On Friday 16 July 2004 08:05, Justin Patrin wrote:
> 
>> > If you're simply trying to get '@email.com' then use strstr().
>>
>> Of course....I'm just so used to pregs...
> 
> Well the advantage of using a regex is that you can perform some form of 
> validation on the address.


And in the end compare your regular expression with the one at:
http://www.ex-parrot.com/~pdw/Mail-RFC822-Address.html

-- 
Tim Van Wassenhove <http://home.mysth.be/~timvw>

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

Reply via email to