I have a string that looks like:
AA,BB,CC(DD,EE(FF))
that I want to split at the root level, leaving the nested list intact. So the above string would be split into:
AA, BB, and CC(DD,EE(FF))
I know how to do this without a regular expression, but I'm having a hard time writing a regex that can identify the outer most commas and ignores the commas in the paratheses.