Regular Expressions 101

Community Patterns

Finds <font> tag

-1

Regular Expression
PCRE (PHP <7.3)

/
<(FONT|font)[^>]*>|</(FONT|font)>
/

Description

Useful for cleaning old html code from <font> tags

Submitted by anonymous - 11 years ago