Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
[^,)(\s]+(?![^(\n]*\()
/
gm
Input 1
1
New
rgb(252, 246, 253) hsl(12, 23%, 43%) myfunc(342, 2341%, 0.5%) (723, 456a, 123) 12 4324 0.6% hello world word3 keep, writing, more, words, asmuch fn(hello world word3)