Regular Expressions 101

Community Patterns

Full URL regex

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 - 7 years ago