Regular Expressions 101

Community Patterns

after the </h2> Any new paragraph should start with a <p>

0

Regular Expression
PCRE2 (PHP >=7.3)

/
(<\/h2>)(\w)
/
gm

Description

In case #2: after the </h2> Any new paragraph should start with a <p>

Submitted by anonymous - 2 years ago