Regular Expressions 101

Community Patterns

pure url and uri

1

Regular Expression
ECMAScript (JavaScript)

/
(?:http:\/\/)?(?:www\.)?(.*?)\/(.+?)(?:\/|\?|\#|$|\n)
/
g

Description

no description available

Submitted by Thiago Souza - 9 years ago