Re: Email with pregmatch

From: Date: Thu, 31 Aug 2006 07:33:20 +0000
Subject: Re: Email with pregmatch
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-241267@lists.php.net to get a copy of this message
On 8/27/06, Dave Goodchild <buddhamagnet@gmail.com> wrote:
Try this: preg_match("/^([a-zA-Z0-9.])+@([a-zA-Z0-9_-])+(\.[a-zA-Z0-9_-]+)+/", $_POST['email']);
So: .............@-- is valid? Curt.

« previous php.general (#241267) next »