Simple E-mail address validatorOn the forge: This stored procedure is a simple e-mail address validator -- it makes sure the e-mail address is in the format word@word.word, and makes sure there are no special characters: I allow " because technically you can have "word"@word.com. Folks can easily add to this snippet to make it fully compliant with RFC822 if they want. (I got bored and didn't really feel like adding all that other stuff in. :) ) |
Follow me on:SearchNavigation |
The entire RFC822 email
The entire RFC822 email validating regular expression is a monster of over 6000 characters long. You can find it at this address:
http://regexp.info/email.html
Personally, I don't use regular expressions for this, but I use a specialized module (in Perl) to do the job painlessly. http://search.cpan.org/~maurice/Email-Valid-0.15/
ciao
Giuseppe