I have a text file and i'd like to import just the characters beetween two string:

#####START TEXT id1
Some Text.........bla bla bla.
Bla bla bla.
Bla bla bla.
#####END TEXT id1

some other text
some other text
some other text

#####START TEXT id2
Some Text.........bla bla bla.
Bla bla bla.
Bla bla bla.
#####END TEXT id2

The parser has to print, the text beetween #####START... and ######END.... and also has to know the number id(that is an integer)

How can i obtain this behaviour? Perhaps i guess with QRegExp.....but how????