Created
September 19, 2014 14:34
-
-
Save brandonmartinez/1175ce8dd69526408273 to your computer and use it in GitHub Desktop.
A basic regex for email validation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[A-z0-9!#$%&'*+/=?^_`{|}~-]+[A-z0-9!#$%&'*+/=?.^_`{|}~-]*(?:-/.[A-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[A-z0-9](?:[A-z0-9-]*[A-z0-9])?\.)+[A-z0-9](?:[A-z0-9-]*[A-z0-9])? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment