I have strings like this in a number of files:
STEP.M 0.02540:STEP LENGTH
(notice the space in the first character of the string) In some of the files, there could be additional spaces between some characters:
STEP . M 0.02540 : STEP LENGTH
How can I replace the decimal number with another decimal number? i.e. I want this:
STEP.M 1.50000:STEP LENGTH
Edit to add: Naturally, the decimal number is not always the same in each file.