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
/
digraph Checker\s+{((?:[^{]*{[^}]*})*[^}]*)}
/
i
Input 1
1
New
{ /*uninterested in this*/ " digraph Checker { /*bunch of stuff*/ { /*bunch of stuff*/ } { /*bunch of stuff*/ } { /*bunch of stuff*/ } /*bunch of stuff*/ } //first most curly brace ends, would want the regex to filter out till here, incl. the braces " }