Skip to content

Instantly share code, notes, and snippets.

@kikobr
Created February 13, 2014 19:19
Show Gist options
  • Save kikobr/8981886 to your computer and use it in GitHub Desktop.
Save kikobr/8981886 to your computer and use it in GitHub Desktop.
Validate Email Js
re = /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
re.test($('.reset-password.front input'));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment