Regular Expressions 101

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

Open Workspace
  • PCRE2 (PHP)
  • Substitution
0

Regular Expression

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

Description

No description provided.

Submitted by Anonymous