Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Created·2016-12-15 10:52
Flavor·JavaScript

/
((((http|https):(?:\/\/)?)(?:[-;:&=\+\$,\w]+@)?[A-Za-z0-9.-]+|(?:www.|[-;:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_]*)?\??(?:[-\+=&;%@.\w_]*)(\.\w{2,3})))
/
i
Open regex in editor

Description

simple url to web site match (es6)

Submitted by anonymous