I have a text file with lines of the format
AZ 55555.00000 EL 1.23450 Z 55555.24716 X 3.09432 Y 55555.00000 F 55555.00000 AZ 4.00001 EL 55555.00000 Z 5.02117 X 4.39393 Y 7.83839 F 8.39394
How do I write a new text file that gets rid of all numbers beginning with 555 and also gets rid of the preceding identifier, such as AZ? The lines vary, so the 555 string appears with different identifiers throughout the file. Thanks!
Best Answer