\)) matches anything from an opening parenthesis to the first closing parenthesis. The second group (\[.*?\]) matches anything from an opening bracket to the first closing bracket. A vertical bar | acts as the OR operator.
I found an interesting discussion around this topic here - but as long as your brackets are balanced and you don't want to pick anything between matching brackets, things should work. 0 Likes Reply s_lassen Meteorite | Level 14 Re: remove text inside nested parentheses using PRX P...