What will be the regular expression for the following pattern shown in the image below? (Note: there are many more tags and in no specific order.there is a lot of information between the tags that dont follow this pattern. i just need to extract the information within the large bracket)
I need to seperate the data inside the large bracket seperately. for e.g. severity and 2. So far, i have only been able to collect the data having such large brackets using r'\[([^]]*)\]'. how do i seperate them? and please do explain. I am familiar with regex symbols but cannot work my head around with these complicated patterns.