Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

/
(magnet:[\?xt\=\w\:\&\;\+\%.]+)
/
g

Description

Extract magnet links

Submitted by Peng - 9 years ago