Regular Expressions 101

Library entries

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

Vote

0

Regular Expression
pcre2

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

Description

Loading markdown...
Submitted by anonymous - 9 months ago