Title |
Test
Find
Email regexp for ereg()
|
Expression |
^[a-z0-9_]{1}[a-z0-9\-_]*(\.[a-z0-9\-_]+)*@[a-z0-9]{1}[a-z0-9\-_]*(\.[a-z0-9\-_]+)*\.[a-z]{2,4}$ |
Description |
Checks whether email in the string that must be an E-mail address |
Matches |
|
Non-Matches |
a-_tech.kr@_mte.kab |
Author |
Rating:
Not yet rated.
Axel Foly
|
Source |
|
Your Rating |
|
Title: Far too limiting
Name: Chris
Date: 12/25/2006 6:15:04 PM
Comment:
I'm sorry I have to rate it low but this is again a very limited e-mail checker. According to the RFC 822 and RFC2822loads of other characters and formulations are valid. As well as other country codes. ok, they are rare, but why disriminate minorities?
PHP-ers please use the function at http://code.iamcal.com/php/rfc822/rfc2822.phps
Title: Many false negatives
Name: Chris Hayes
Date: 12/3/2006 8:22:58 PM
Comment:
You will have many potential false negatives with this one, by missing quite some permitted emailcharacters and by restricting the end to 4 characters.
BTW Randal we are at RFC2822 now.
PHP-ers go to http://code.iamcal.com/php/rfc822/rfc2822.phps
Title: WRONG WRONG WRONG
Name: Randal L. Schwartz
Date: 11/29/2006 3:20:11 PM
Comment:
Once again, a broken email.
IF YOU DON'T KNOW WHAT RFC822 IS, STOP WRITING EMAIL VALIDATORS.
Sheesh.
Like the other 125 email validators here, THIS ONE IS BROKEN TOO.