Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
^\_{4}[\r\n]([\s\S]+?(?=^\_{4}[\r\n]))\_{4}[\r\n]
/
mg

Description

Submitted by aisbergde - 2 years ago