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
/
(?<={[^{}]*)([^\S\r\n]*)([A-Za-z'-]+:)(?=[^{}]*})
/
gm
Input 1
1
New
.MenuContainerScroll { overflow: auto; overflow-y: hidden; white-space: nowrap; width: 100%; margin-top: 1vw; } .MenuContainerScroll::-webkit-scrollbar { width: 6px; height: 1vw; } .MenuContainerScroll::-webkit-scrollbar { width: 6px; height: 1vw;
Substitution
$1<span class="blue">$2</span>
.MenuContainerScroll { overflow: auto; overflow-y: hidden; white-space: nowrap; width: 100%; margin-top: 1vw; } .MenuContainerScroll::-webkit-scrollbar { width: 6px; height: 1vw; } .MenuContainerScroll::-webkit-scrollbar { width: 6px; height: 1vw;