DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
2+2 =
Submit