Regular Expressions 101

Library entries

URL Validation

Vote

0

Regular Expression
javascript

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

Description

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