DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
regex validate link
/
^
(
?
:
http
(
s
)
?
:
/
/
)?[w.-]+(?:.[w.-]+)+[w-._~:/?#[]@!$&'()*+,;=.]+$
/
gm
PREVIOUS
NEXT
Tagged:
#regex
#validate
#link
ADD COMMENT
Topic
COMMENT
Name
4+4 =
Submit