Re: reg expression for ide-emails

From: Date: Mon, 29 Mar 2004 13:06:21 +0000
Subject: Re: reg expression for ide-emails
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-181650@lists.php.net to get a copy of this message
On Monday, March 29, 2004, at 10:00 PM, John W. Holmes wrote:
Robert Kornfeld wrote:
as with april 1, on may use special german and frech characters for urls and email-names. does anyone know a reg. expression to validate the syntax of a email-adress?
if(strpos($email,'@')) No, seriously.
LMFAO -- was just about to say the same thing, but I'd also check for at least one period too -- or is that asking too much? if( strpos($email,'@') && strpos($email,'.') ) --- Justin French http://indent.com.au

« previous php.general (#181650) next »