Regular Expressions 101

Community Patterns

remove empty html paragraph tags

0

Regular Expression
PCRE (PHP <7.3)

/
<p>(\s|&nbsp;|<\s?br\s?\/>)*<\/p>
/
g

Description

no description available

Submitted by acor3 - 8 years ago