delete special ANSI characters from ,254, to the end of line
Posted: Mon May 12, 2008 10:14 am
I need to clean some text from ,254, to the end of the line.
The problem is that special ANSI characters are writen
,ACHILLE,A, 43.983334, 12.111950,262,0,0,0,U,0,I,254,0,,<û
,ACQSPARA,A, 42.673050, 12.550000,1030,130000,0,0,U,0,I,254,0,,Q#|
,ACQUASP,O, 42.683617, 12.553333,984,0,0,0,U,0,I,254,0,,
,ACQUI TE,O, 44.676949, 8.502784,426,127000,150,15,U,0,I,254,0,,
,ACQUITER,A, 44.683048, 8.521116,429,0,0,0,U,0,I,254,0,,U
I have use regexp:
can you hel me?
Kam
The problem is that special ANSI characters are writen
,ACHILLE,A, 43.983334, 12.111950,262,0,0,0,U,0,I,254,0,,<û
,ACQSPARA,A, 42.673050, 12.550000,1030,130000,0,0,U,0,I,254,0,,Q#|
,ACQUASP,O, 42.683617, 12.553333,984,0,0,0,U,0,I,254,0,,
,ACQUI TE,O, 44.676949, 8.502784,426,127000,150,15,U,0,I,254,0,,
,ACQUITER,A, 44.683048, 8.521116,429,0,0,0,U,0,I,254,0,,U
I have use regexp:
but not all line are selected,254,0,,[[:cntrl:][:upper:][:space:][:print:][:punct:]]$
can you hel me?
Kam