Last active
August 29, 2015 14:15
-
-
Save jayproulx/6696e457c81893658439 to your computer and use it in GitHub Desktop.
Sinelabs Simple Order Status
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
re = /^([\w]+)([\+\-\.\w]*)@([\-\.\w]+)(\.[\w]{2,17}){1,2}$/; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Looks like the longest TLD is 17 characters http://en.wikipedia.org/wiki/List_of_Internet_top-level_domains