Regular Expressions 101

Community Patterns

1...34567...902

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
<p>(\s?]]><\/footer> <\/content>)
/
gm

Description

  • the end of file paragraph should have a closing </p>
  • should be used after regex2 to remove <p> at the end
Submitted by anonymous - 3 years ago