I am dealing with legal citations. I want to split the citations into four parts. The citation is in general format as follows: ABC v. DEF [Year] citation data (Authority) So, I want to split it into four parts - ABC v. DEF, Year, citation data, and authority. The problem is that the first part (i.e., ABC v. DEF)might have additional round brackets, while the third part (i.e., citation data) might have additional square and/or round brackets. For example, in this following case
"Lubrizol Corporation, USA v. Asstt. DIT (International Taxation) [2013] 33 taxmann.com 424/60 SOT 118 (URO) (Mum. Trib.)"
The first part is "Lubrizol Corporation, USA v. Asstt. DIT (International Taxation)", second part is "2013", third part is "33 taxmann.com 424/60 SOT 118 (URO)" and the last part is "Mum. Trib."
I am unable to come up with the right regex to do this. Can anyone help me with this one?