Split File into different sub file

momoko

Registered User.
Local time
Today, 18:45
Joined
Oct 7, 2001
Messages
41
Hi,
Currently I've one txt file that contains a few reports, I need to break them up but grouping the same report into one file. This is how the txt file look like : I want to have all with reportid 001 into one file and 002 into another. Please help.

ReportID:001
aaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbb
aaaaaaaaa

ReportID:001
ccccccccccccccc
cccddddddddddddd
ddddddddd

ReportID:002
 

Users who are viewing this thread

Back
Top Bottom