Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

domain regex

/^[a-zA-Z0-9][a-zA-Z0-9-]{1,61}[a-zA-Z0-9].[a-zA-Z]{2,}$/
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #domain #regex
ADD COMMENT
Topic
Name
3+9 =