Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
\b\d{1,4}(?:\.\d{1,4})?px
/
g
Input 1
.some_class { font-size: 11px; margin-left: 0.45px; margin-top:11.0005px; border: 1.1px solid blue; } .another_class { background: rgba(0, 0, 0, 0.2); width: 100%; color: #012345; z-index: 12; font-size: calc(100% + 888.888px); } 12345678px
Substitution
.some_class { font-size: 11px; margin-left: 0.45px; margin-top:11.0005px; border: 1.1px solid blue; } .another_class { background: rgba(0, 0, 0, 0.2); width: 100%; color: #012345; z-index: 12; font-size: calc(100% + 888.888px); } 12345678px