Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

regex link validation

^(http://www.|https://www.|http://|https://)?[a-z0-9]+([-.]{1}[a-z0-9]+)*.[a-z]{2,5}(:[0-9]{1,5})?(/.*)?$
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #regex #link #validation
ADD COMMENT
Topic
Name
7+6 =