Peter Szinek <peter / rubyrailways.com> wrote/schrieb <45B73C94.1010405 / rubyrailways.com>:

> Probably what I need to cover 95% of the cases is to remove all the 
> non-digits except a delimiter (, or .) I guess. Or not?

Attention to locales! At least these variants for 1234567.89 exist in
different countries:
  1 234 567,89
  1.234.567,89
  1,234,567.89
  1 234 567.89
  1'234'567.89
  1,234,567ยท89
(See <http://de.wikipedia.org/wiki/Dezimaltrennzeichen>.)

Regards
  Thomas