gfdgfg
--------------------------------
dfgfdgdfg
fdgfdgfdgdgf
fdgf
------------------------------
f
g
gdgf
a constant string that i know
---------------------------------------------
data I want to have data I want to have
data I want to have data I want to have
....
data I want to have data I want to have
data I want to have data I want to have
----------------------------------------------
fdgfdg
fdgfdgd
fdgfdg
---------------------------------
dsfgfdgfdg
dsfgfdgfd
dfsg
-----------------------------------
sfdgfdgf
fdgfdg
I want to get the text between the rows ------------------------
Before this there is a known constant String.
I've tried with sed, but with no result. I've the problem that
there are mutiples textparts between the rows --------------------