Regular Expressions 101

Community Patterns

URL with Port

2

Regular Expression
ECMAScript (JavaScript)

/
^https?:\/\/.+(:[0-9]{4,5})?\/.*$
/

Description

no description available

Submitted by rkl - 8 years ago