## GREP find content that is between parentheses but not when within brackets
Source URL:: <https://community.adobe.com/t5/indesign-discussions/grep-find-content-that-is-between-parentheses-but-not-when-within-brackets/td-p/8137604>
I am trying to find a GREP that will help me find content that is within parentheses but not when there is content within brackets. For example: It would find: (John 2:22) but not (John 2:22 [this is a test]) And it would find: (2 Peter 2:22) but not (2 Peter 2:22 [12 times]) Thanks.
### Highlights
> [!quote]+ %%Updated on Fri Jan 05 2024 12:30:42 GMT-0500%%
>
> \([^[\]]+?\)