Yes, nested parenthesis are an additional requirement. I forgot to mention it, sorry.
Thanks for both responses, this will nicely replace my iterative approach.
In reply to Re: Regex: first match that is not enclosed in parenthesis
by monkprentice
in thread Regex: first match that is not enclosed in parenthesis
by monkprentice
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |