I have a string of names that is comma delimited and some of the names have an abbreviation after such as the following:
"major league baseball, national football league (nfl), major league soccer" ...
I want to place a comma before the parenthesis (before any opening parenthesis) so I can use string split. I tried using the following regex but doesn't quite do what I want.
result = re.split(",()", result)