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
r"
\bwhere(?:(?:(?!where)[^][])*\[[^][]*])+\s*
"
g
Input 1
1
New
where this condition and [this = 1] group by 1,2,3 where that and that do that where [this = 1] and [that = 1] group by 1,2,3
Substitution