Return to Snippet

Revision: 1991
at December 10, 2006 13:36 by assbach


Initial Code
$emailOK = eregi("([_\.0-9a-z-]+@)([0-9a-z][0-9a-z-]+\.)+([a-z]{2,3})",$_POST['email']);

Initial URL

                                

Initial Description
check if email address is valid

Initial Title
email validity check with regex

Initial Tags
regex, email

Initial Language
PHP