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
r"
(?:[^"\\]|(?:\\\\|\\")+)(")
"
gmi
Input 1
{ # "comment 1 "hello": "Wor#d", "Bye": "\"M#rk\"", "yes\\\"": 5,# comment" 2 "quote": "\"th#t's\" what she said", # comment "3" "list": [1, 1, "#", "\"", "\\", 8], "dict": {"q": 7} #" comment 4 with quotes } # comment 5"