Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

match url regex

/^(https?://)?([da-z.-]+).([a-z.]{2,6})([/w .-]*)*/?$/
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #match #url #regex
ADD COMMENT
Topic
Name
2+7 =