Title |
Test
Find
Email
|
Expression |
^[\w-]+(\.[\w-]+)*@([a-z0-9-]+(\.[a-z0-9-]+)*?\.[a-z]{2,6}|(\d{1,3}\.){3}\d{1,3})(:\d{4})?$ |
Description |
Check email format |
Matches |
|
Non-Matches |
|
Author |
Rating:
Not yet rated.
Key Sutim
|
Source |
nick bennett |
Your Rating |
|
Title: WRONG WRONG WRONG
Name: Randal L. Schwartz
Date: 2/12/2008 1:12:03 PM
Comment:
This does NOT VALIDATE EMAIL ADDRESSES. The minimum regex that can validate an ACTUAL email address is at http://www.ex-parrot.com/~pdw/Mail-RFC822-Address.html Please go read that, and then know why I'm laughing at yours.