Regular Expressions 101

Community Patterns

Automatically removes any CSS property that doesn't affect the border, background, color, or shadow

0

Regular Expression
PCRE2 (PHP >=7.3)

/
(^((?!{|}|border|background|color|shadow).)*$)
/
gms

Description

no description available

Submitted by anonymous - 3 years ago