Regular Expressions 101

Community Patterns

H1 Tag <h1>...</h1>

1

Regular Expression
PCRE (PHP <7.3)

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

Description

no description available

Submitted by anonymous - 4 years ago