Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

regex for url validation js

/((?:(?:http?|ftp)[s]*://)?[a-z0-9-%/&=?.]+.[a-z]{2,4}/?([^s<>#%",{}|^[]`]+)?)/gi
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #regex #url #validation #js
ADD COMMENT
Topic
Name
2+2 =