Regular Expressions 101

Library entries

parse discuz video codes

Vote

1

Regular Expression
pcre

/
\[media[^\]]*?\]([\s\S]+?)\[\/media\]
/
i

Description

Loading markdown...
Submitted by Paul Wang - 6 years ago