Regular Expressions 101

Library entries

simple url to web site match

Vote

0

Regular Expression
javascript

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

Description

Loading markdown...
Submitted by anonymous - 5 years ago