public static boolean isZipCode(String value) {
        String check = "^[0-9]{6}$";
        return match(check, Pattern.CASE_INSENSITIVE, value);
    }
public static boolean isZipCode(String value) {
        String check = "^[0-9]{6}$";
        return match(check, Pattern.CASE_INSENSITIVE, value);
    }
public static boolean isZipCode ( String value ) { String check = "^[0-9]{6}$" ; return match ( check , Pattern . CASE_INSENSITIVE , value ) ; }
Postal Code

@param value value
@return boolean
Postal Code