private static String preprocessScanText(final String text) {
        return text.replaceAll("\\h|\\s", " ").trim()
                .replace(',', '.');
    }
Holds implementations for functions in Formula
main/src/main/java/cgeo/geocaching/utils/formulas/FormulaUtils.java