Return to Snippet

Revision: 39511
at January 18, 2011 03:34 by silentpro


Initial Code
function is_valid_email($email)
{
  return (pregmatch("/[a-zA-Z0-9-.+]+@[a-zA-Z0-9-]+.[a-zA-Z]+/", $email) > 0);
}

Initial URL

                                

Initial Description

                                

Initial Title
Check for Valid Email

Initial Tags
regex, email, php, textmate, validation

Initial Language
Other