Last active
August 29, 2015 14:16
-
-
Save ephbaum/2d5cd2ffcc3cfa9f1df8 to your computer and use it in GitHub Desktop.
simpleRFC2822EmailRegExp
This file contains hidden or 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
var simpleRFC2822EmailRegExp = /[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?/ | |
if ( ____placeholder____.match( complexRFX2822EmailRegExp ) === null ) { return false; } | |
// see data @link https://regex101.com/r/uU1fI9/1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment