Created
September 28, 2016 19:55
-
-
Save bkozora/b91f3f098eae80431674e9bd4dfc412d to your computer and use it in GitHub Desktop.
Split hostname from top level domain
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-z]{1,})(\.)([a-z.]{1,})/g |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment