I want to delete the below in green.
There is no line limitation.
And I do not know until which line i have to delete.
How to i detect the last patten of the below data and delete it?
5Discounts
6P150 - Max Total Usage RM150|-221.00
P150 EPP - Talktime RM150 x 24|-169.35
7-390.35
90.00
812.71
3ITEMISED|YES
4DOMESTIC
521/10/2008|20:56:30|Central-01|016|00:00:18|OFFP|GTele|01|0.08
21/10/2008|20:57:02|North-01|016|00:00:12|OFFP|GTele|02|0.08
21/10/2008|20:58:02|North-01|016|00:00:04|OFFP|GTele|02|0.08
.
.
Let me get this straight. You want to delete the lines in green. But you don't know which lines these are until you come across "the last pattern"? And then you want to delete the lines above it? So what is special about the line that tells you that you need to delete it and the other lines?