Strip all non-numeric characters
static String stripNonNumericCharacters(String text) { return text.replaceAll(new RegExp("[^0-9]"), ""); }