note 40692 deleted from function.ereg by nlopess

From: Date: Thu, 11 Mar 2004 16:27:18 +0000
Subject: note 40692 deleted from function.ereg by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-66665@lists.php.net to get a copy of this message
Note Submitter: JJ Clent ---- Email addresses can actually have 2 @'s. Fi. user@sbcglobal.net@yahoo.com. Hence "^([a-zA-Z0-9_\.-@]+|[a-zA-Z0-9_\.-]+) @[a-zA-Z0-9_\.-]+\.[a-zA-Z]{2,4}$" Would stil test for at least 1 @ before the domain, but would allow @ before that as well.

« previous php.notes (#66665) next »