Regular Expressions 101

Community Patterns

Your search did not match anything

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
((http|https):\/\/)?([\w-]+\.)+[\w-]+(\/[\w- .\/?%&=]*)?
/
gm

Description

Just a basic URL validation regular expression. Most recommend you use the URL input type in HTML5

Submitted by anonymous - 5 years ago