Created
November 4, 2016 06:29
-
-
Save mikoim/4701c4f8562aaf3da5f2a76b47850477 to your computer and use it in GitHub Desktop.
twttr.peacock.constants.Regexes.EMAIL
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_]+)*\.(aero|arpa|asia|biz|cat|com|coop|edu|gov|info|int|jobs|mil|mobi|museum|name|net|org|post|pro|tel|travel|xxx|[a-z][a-z])|([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}))(:[0-9]{1,5})?$/i |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment