thanks era, your method works however.
erm, i got another question though
Quote:
xxx 254 xx 40 HC M U02 25 6 4 0
*space* xx 20 GP H U02 27 3 1 0
*space* xx 20 GP U U02 27 3 1 0
*space* xx 40 HC X U02 25 4 3 0
*space* xx 40 HC U U02 25 6 1 0
*space* xx 20 GP L U02 27 3 1 0
|
the file indentation for that part is actually like that as of above (well almost, the xx is align with the xx). However, different files has different number of line for that.
However, after the data is done showing, the next line will always be a empty space (or "\n" if what you guys call it)
so how do I extract those data and ignore the 'x254'?