Skip to content

Instantly share code, notes, and snippets.

@vdepizzol
Created March 3, 2011 15:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vdepizzol/852881 to your computer and use it in GitHub Desktop.
Save vdepizzol/852881 to your computer and use it in GitHub Desktop.
javascript email Pattern
var emailPattern = /^([a-zA-Z0-9])+([\.\+a-zA-Z0-9_-])*@([\+a-zA-Z0-9_-])+(\.[a-zA-Z0-9_-]+)+$/;
// emailPattern.test(var) returns a boolean value
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment