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
/
^\{((?:(?:(?!\}).)+)(?:(?:\}\})?(?:(?:(?!\}).)+))+)\}(?!\})
/
gm
Input 1
1
New
{class: name} { class : name } { 'class' : 'name' } { 'key' : 'value', 'key': 'value' } {'key': 'value'} {' key ': ' value ' , 'this': 'guy' } {' class ': ' in session ' , 'this': 'guy' } string {' class ': ' in session ' , 'this': 'guy' } string with {{ brackets }} {' class ': '{{ parse me }}' } {'key': 'value', checked: true} {'key': 'value', checked: {{ bool }} } {'asdf': 'fda', checked: {{ bool }}, strange: {{ bool }} } stuff {{ more }} #{interpolate}