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+(\{[^}]+\})
/
gm
Input 1
1
New
{ "cRecords":[ { "bDate":"05/16/2019", "count":"10", "charge":"100.10", "type":"T", "flag":"Y" }, { "bDate":"05/16/2019", "count":"100", "charge":"10000.01", "type":"P", "flag":"X" } ], "batch":"1" }{ "cRecords":[ { "bDate":"05/17/2019", "count":"1", "charge":"1.00", "type":"P", "flag":"Y" }, { "bDate":"05/17/2019", "count":"5", "charge":"25.25", "type":"T", "flag":"X" } ], "batch":"2" }
Extraction