Regular Expressions 101

Community Patterns

Extract Headings

1

Regular Expression
PCRE (PHP <7.3)

/
(?<=## )(.*?)(?= #)
/
gmi

Description

no description available

Submitted by anonymous - 8 years ago