Skip to content

Instantly share code, notes, and snippets.

@jayproulx
Last active August 29, 2015 14:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jayproulx/6696e457c81893658439 to your computer and use it in GitHub Desktop.
Save jayproulx/6696e457c81893658439 to your computer and use it in GitHub Desktop.
Sinelabs Simple Order Status
re = /^([\w]+)([\+\-\.\w]*)@([\-\.\w]+)(\.[\w]{2,17}){1,2}$/;
@jayproulx
Copy link
Author

Looks like the longest TLD is 17 characters http://en.wikipedia.org/wiki/List_of_Internet_top-level_domains

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment