Re: Easy reg expression problem

From: Date: Fri, 16 Jul 2004 08:01:38 +0000
Subject: Re: Easy reg expression problem
References: 1 2 3 4  Groups: php.db 
Request: Send a blank email to php-db+get-35304@lists.php.net to get a copy of this message
In article <200407160818.38087.php-db@gremlins.biz>, 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>

« previous php.db (#35304) next »