Regular Expressions 101

Community Patterns

xenforo regex youtube 2

0

Regular Expression
PCRE (PHP <7.3)

/
\[video=youtube_share;([^\]]+)\]([^\[]+)\[\/video\]
/
siU

Description

using
Post Content Find / Replace 2.0.1 addon in xenforo to fix bbcode after import of old forum

Submitted by anonymous - 5 years ago