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
/
(?:\G(?!^)|\()[^)(]*+\K\(([^)(]*)\)
/
gm
Input 1
New
Record ID What is the best food? (choice=Nachos) What is the best food? (choice=Tacos (big bent nachos)) What is the best food? (choice=Chips with stuff) Complete? So ((this) one (has) (many) (inside)) (none here) (but (here) and (here))
Extraction
Record ID What is the best food? (choice=Nachos) What is the best food? (choice=Tacos (big bent nachos)) What is the best food? (choice=Chips with stuff) Complete? So ((this) one (has) (many) (inside)) (none here) (but (here) and (here))