delete special ANSI characters from ,254, to the end of line

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, MudGuard

Post Reply
filosy11
Posts: 2
Joined: Mon May 12, 2008 9:48 am

delete special ANSI characters from ,254, to the end of line

Post by filosy11 »

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:
,254,0,,[[:cntrl:][:upper:][:space:][:print:][:punct:]]$
but not all line are selected

can you hel me?

Kam
ben_josephs
Posts: 2464
Joined: Sun Mar 02, 2003 9:22 pm

Post by ben_josephs »

,254,0,,[[:cntrl:][:upper:][:space:][:print:][:punct:]]*$
or maybe just
,254,0,,.*
filosy11
Posts: 2
Joined: Mon May 12, 2008 9:48 am

Post by filosy11 »

ben_josephs wrote:,254,0,,[[:cntrl:][:upper:][:space:][:print:][:punct:]]*$
or maybe just
,254,0,,.*
TKS
Kam
Post Reply