Regular Expressions 101

Sponsors

Library entries

2
javascript

get href

gets value of href
Submitted by me - 7 years ago
2
javascript

URL with Port

no description available
Submitted by rkl - 7 years ago
2
python

lottery data picker

for azlottoapi
Submitted by anonymous - 2 years ago
2
python

IpAddress

Ensure the ip address format is correct
Submitted by aaa - 2 years ago

Accept url without www

Vote

5

Regular Expression
javascript

/
^(http:\/\/www\.|https:\/\/www\.|ftp:\/\/www.|www\.)[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}(:[0-9]{1,5})?(\/.*)?$
/

Description

Loading markdown...
Submitted by anonymous - 9 years ago