You can preprocess it easily with perl:
In reply to Re^3: Parsing a text file by juster in thread Parsing a text file by calmthestorm