I have a 84K rows file of which I need to filter out certain data.
I would need all lines starting from a string to the last occurence of string but including the first occurrence of [Total] after that last ocurrence...
File would look like this:
FIRST OCCURENCE OF STRING [AAA-111]
SECOND OCCURENCE OF STRING [AAA-111]
THIRD OCCURENCE OF STRING [AAA-111]
LAST OCCURENCE OF STRING [AAA-111]
So I would need everything that is between the x's
The first occurence and the last occurence are grouped.
Hope you can help.