I have to parse out the content of items separated by square brackets, i.e.,
[Tag1][Tag2]hello, world[Tag3][Tag4]
I want to get:
Tag1
Tag2
Tag3
Tag4
If I write this: \[.*\]
I get the whole string, not the individual parts - any help is appreciated!
\[([^]]*)\]