I am currently learning regex in python and got stuck at a problem in which I have to separate the string such that there are words that are not between any ( ) or [ ].
Let me show an example:
String: Ann Arbor (University of Michigan)[1]
Output: Ann Arbor