I have strings like this,
Protein XVZ [Human]
Protein ABC [Mouse]
Protein CDY [Chicken [type1]]
Protein BBC [type 2] [Bacteria]
Output should be,
Human
Mouse
Chicken [type1]
Bacteria
Thus, I want everything inside the last pair of braces. Braces that precede that pair must be ignored as in last example. Is there an effective way to do this in Python? Thanks in advance for your help.