Regular Expressions 101

Library entries

Strip Specific HTML Tags

Vote

1

Regular Expression
pcre

/
(<p[^>]*>)(.*?)(<\/p>)|(<p[^>]*>)
/
ig

Description

Loading markdown...
Submitted by Zachary Beschler - 6 years ago