Created
August 25, 2018 01:01
-
-
Save th0th/29bd4f9f9abbb0f40ed8ecfab4d9606f to your computer and use it in GitHub Desktop.
domain regex
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
^(?!:\/\/)([a-zA-Z0-9-_]+\.)*[a-zA-Z0-9][a-zA-Z0-9-_]+\.[a-zA-Z]{2,11}?$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment