Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

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

Description

regex to valid a complete URL including querystring and URI encoded characters

Submitted by anonymous - 8 years ago