Regular Expressions 101

Library entries

Local url detection

Vote

2

Regular Expression
pcre

/
((?:(?:https?):\/\/)?(?:regex101\.com|www\.regex101\.com|regex101\.com|(?<![:\/])\/)[-a-z0-9+&@#\/%?=~_|!:,.;]*[-a-z0-9+&@#\/%=~_|])
/
g

Description

Loading markdown...
Submitted by Jean Fenouil - 6 years ago