List of utility methods to do Postal Code Check
boolean | checkPostalcode(String postalCode) check Postalcode return Pattern.matches("[0-9]\\d{5}", postalCode); |
boolean | IsPostalcode(String str) Is Postalcode String regex = "^\\d{6}$"; return match(regex, str); |