Re: Email validation
| From: | Pedro Pontes | Date: | Wed, 12 Jun 2002 16:58:11 +0000 |
| Subject: | Re: Email validation | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-101766@lists.php.net to get a copy of this message | ||
function checkEmail($strEMailAddress)
{
return eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)+$",
$strEMailAddress);
}
You have it now :).
Regards,
Pedro Alberto Pontes
"Jeroen Timmers" <maillist@start4me.nl> wrote in message
news:5.1.0.14.2.20020612185559.00b23350@192.168.0.1...
> Is there a simple function that validate an email adres
>
> Thx
>
> Jeroen Timmers
>