Regular Expressions 101

Library entries

Finding URLs within full text

Vote

1

Regular Expression
javascript

/
\b(https?|ftp|file)://\S+
/
g

Description

Loading markdown...
Submitted by D0nB1z - 7 years ago