Regex

Online testers

Get block between two “tags”

1
\[start_ignore\][\s\S]*?(?:\[end_ignore\].*)

Multiline modifier

/s

1
/(.*)<FooBar>/s

Positive lookahead

⬆︎TOP