Regular Expressions 101

Community Patterns

H2 Tag <h2>...</h2>

1

Regular Expression
PCRE (PHP <7.3)

/
(?<=\<h2\>).+(?=\<\/h2\>)
/
gm

Description

no description available

Submitted by anonymous - 4 years ago