None of the solutions presented here does any considering of commas or points. The input comes from carbon based units and they are known to need all kind of helps to get a number correct. So my solution would be to check for -1) just one decimal point and -2) commas at every forth position
All the examples and comments (so far) don't even come close to what may be needed. The assumption so far has been that the input has exactly 2 numbers after the decimal point and that the number is positive. A true "de-edit" routine needs to take into considerations: 1) The decimal point may
Possibly good points, but no one was hired to code a complete solution, and no one has published specifications. He wanted some ideas on how to approach his problem. Chris Webster's technique is nice, as it shows what can be done in these modern times if you've cracked open the PoOp since 1979.