Return to Snippet

Revision: 6418
at May 20, 2008 13:12 by mattkenefick


Initial Code
function isValidEmail($value){
	$pattern = "/^([a-zA-Z0-9])+([\.a-zA-Z0-9_-])*@([a-zA-Z0-9_-])+(\.[a-zA-Z0-9_-]+)+/";
	return preg_match($pattern, $value);
}

Initial URL

                                

Initial Description

                                

Initial Title
PHP Regex: IsValidEmail

Initial Tags

                                

Initial Language
PHP