Regular Expressions 101

Community Library Entry

5

Regular Expression
ECMAScript (JavaScript)

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

Description

no description available

Submitted by anonymous - 11 years ago