Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

url regex javascript

// If you do not need to check for HTTP or HTTPS

/[-a-zA-Z0-9@:%._+~#=]{1,256}.[a-zA-Z0-9()]{1,6}([-a-zA-Z0-9()@:%_+.~#?&//=]*)/
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #url #regex #javascript
ADD COMMENT
Topic
Name
5+4 =