Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Regular
Expressions
101
Regular
Expressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
-(?=[^"]*"\s*:)
/
g
Input 1
1
New
{ "id": "b9d7574f-5246-4c94-ade5-1d4e9b169afc", "monthly-amount" : 2000, "annual-amount" : 12000, "ask-for-shiping-address" : false }
Substitution