by
646 12
0
3
946
2
Top 5% !
Popular
Specified
Popularity: 57004th place

Published on:

No tags for this snippet yet.
LanguageText
SourceGitHub

Split hostname from top level domain

Split hostname from top level domain: 
regex-split-hostname-tld.txt
Copy Embed Code
<iframe id="embedFrame" style="width:600px; height:300px;"
src="https://www.snip2code.com/Embed/1460695/Split-hostname-from-top-level-domain?startLine=0"></iframe>
Click on the embed code to copy it into your clipboard Width Height
Leave empty to retrieve all the content Start End
/([a-z]{1,})(\.)([a-z.]{1,})/g
If you want to be updated about similar snippets, Sign in and follow our Channels

blog comments powered by Disqus