I have a .txt file like this:

```
[abc]
There is 
a lot of
contents here 
[abc]

[def]
Here are 
many other
contents
[def]

[ghi]
and bunch of 
contents here too
[ghi]

```

I want to print out the contents between the tagged strings, for example: print out all the contents between [abc] and [abc], without printing out any [abc] line. How could I accomplish that?