Re: Re: Email validation
| From: | Miguel Cruz | Date: | Fri, 14 Jun 2002 06:06:55 +0000 |
| Subject: | Re: Re: Email validation | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-102155@lists.php.net to get a copy of this message | ||
On Fri, 14 Jun 2002, Manuel Lemos wrote:
> The following classes use this validation regular expression string. It
> does not exclude some invalid addresses but includes all valid addresses.
>
>
> "^([-!#\$%&'*+./0-9=?A-Z^_
a-z{|}~?])+@([-!#\$%&'*+/0-9=?A-Z^_a-z{|}~?]+\\.)+[a-zA-Z]{2,4}\$"
It doesn't, as far as I can tell, allow this valid address:
webmaster@musedoma.museum
And what's with all the nonsense characters in the domain name portion?
Only letters, numbers, hyphen, and period are allowed after the @ sign.
miguel