I have a Data Like This
[quot]
Any thing can be here any thing can be hereAny thing can be here any thing can be here Any thing can be here any thing can be hereAny thing can be here any thing can be here Any thing can be here any thing can be here
This is a fixed line
ABCDEF anything any data any item
AJKLFF anything any data any item
NMCDEF anything any data any item
KMLOPN anything any data any item
ABCDEF anything any data any item
This is also a fixed item
any data any data anything any data any item nything any data any item anything any data any item
[/quot]
In the above data example I am interested in to extract the first six letters in each line after the sentence "This is a fixed line" imagine this sentence will remain the same in any of my file.
and the will like to extract the data till it matches the sentence "This is also a fixed item
[quot]
Any thing can be here any thing can be hereAny thing can be here any thing can be here Any thing can be here any thing can be hereAny thing can be here any thing can be here Any thing can be here any thing can be here
This is a fixed line
ABCDEF anything any data any item
AJKLFF anything any data any item
NMCDEF anything any data any item
KMLOPN anything any data any item
ABCDEF anything any data any item
This is also a fixed item
any data any data anything any data any item nything any data any item anything any data any item
[/quot]
In the above data example I am interested in to extract the first six letters in each line after the sentence "This is a fixed line" imagine this sentence will remain the same in any of my file.
and the will like to extract the data till it matches the sentence "This is also a fixed item