Regular Expressions 101

Community Patterns

Shortcode

1

Regular Expression
PCRE (PHP <7.3)

/
(\[(test|test2)(?![\w-]).*?\](?!["])(.*?\[\/(\2)\])?)
/
g

Description

no description available

Submitted by anonymous - 8 years ago