Regular Expressions 101

Community Patterns

parse/replace closed tag

0

Regular Expression
PCRE2 (PHP >=7.3)

/
({{TICKETS}}.*?{{\/TICKETS}})
/
misg

Description

parse and replace a {tag}..{/tag} or {tag}

Submitted by fl0 - 3 years ago