Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Community Library
How to contribute
x
Automatically removes any CSS property that doesn't affect the border, background, color, or shadow
Open Workspace
PCRE2 (PHP)
Substitution
Created 2021-02-03 17:40
0
Regular Expression
/
(
^
(
(?!
{
|
}
|
border
|
background
|
color
|
shadow
)
.
)*
$
)
/
gms
Description
No description provided.
Submitted by
Anonymous