Regular Expressions 101

Community Patterns

URL matching

1

Regular Expression
ECMAScript (JavaScript)

/
(https?:\/\/)?([\da-z\.-]+)(\.[a-z\.]{2,6})([\/\w \.-]*)
/
g

Description

no description available

Submitted by San - 9 years ago