Regular Expressions 101

Library entries

{if}{endif} matcher

Vote

1

Regular Expression
pcre

/
(?:{if\s+)(.*?)(?:})((?:(?R)|(.*?))*)(?:{endif})
/
s

Description

Loading markdown...
Submitted by anonymous - 8 years ago