Regular Expressions 101

Library entries

URL regex without anchors

Vote

1

Regular Expression
javascript

/
(ht|f)tps?:\/\/[^\"<]*?(?=\s|$|<\/[^a]>)
/
g

Description

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