Regular Expressions 101

Community Patterns

1...34567...901

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