code: private static String cleanNumber(String value, char decimalSeparator) {
  	        String regex = "[^0-9-" + decimalSeparator + "]";
  	        if (decimalSeparator == '.')
  	            regex = regex.replace(".", "\\.");
  	        String strip = value.replaceAll(regex, "");
  	    
  	        strip = strip.replace(decimalSeparator + "", Properties.DEFAULT_DECIMAL_SEPARATOR + "");
  	        return strip;
  	    }
docs: Remove from string number representation all character except numbers and
  decimal point. <br>
  And replace given decimalSeparator with '.'
  
  <pre>
  ("44,551.06", '.')        => 44551.06
  ("1 255 844,551.06", '.') => 1255844551.06
  ("44,551..06", '.')       => 44551.06
  </pre>
  
  @param decimalSeparator
  @param value