Regex and/or Power search to assure paired nested parenthesis

Is there a support in POSIX ERE to write regex pattern that supports recursive call to find unbalanced nested parenthesis.

Do you mean to find something like the following?:

Source: (random text between parentheses (more random text between parentheses))
Target: (random text between parentheses (more random text between parentheses)

If that’s the case, I guess you could use the following search:
Source: "\((.+)?\(.+\)(.+)?\)"
Target: -"\((.+)?\(.+\)(.+)?\)"
Power Search: ON
Regular Expression: ON

1 Like

Yes, this is exactly I meant. Thank you so much.