Regular Expressions 101

Community Patterns

Strip i/b tags of attributes

1

Regular Expression
PCRE (PHP <7.3)

/
<(i|b).+>(.+)<\/(i|b)>
/
g

Description

no description available

Submitted by Callum Barclay - 9 years ago