Topic: javascript email-checker |
|
---|---|
Author | Thread |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
posted 07-28-2007 22:29 |
Paranoid (IV) Inmate From: Norway |
posted 07-29-2007 02:09 |
Paranoid (IV) Inmate From: Madison, Indiana |
posted 08-01-2007 20:24
Validating e-mail addresses can't be done with a simple regular expression. One of the main problems with trying to validate an e-mail address with a regular expression is that the RFC for e-mail addresses allows almost any string you can think of as a valid address and if you use an expression that looks for the pattern /[a-z]+@[a-z]+\.(com|net|org)/, you will end up telling a lot of people with valid e-mail addresses that their address is invalid. |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
posted 08-01-2007 23:30 |