Regex Java
private static final Pattern VALID_EMAIL_PATTERN = Pattern.compile("^[A-Z0-9._%+-]+@[A-Z0-9.-]+\\.[A-Z]{2,6}$", Pattern.CASE_INSENSITIVE);
private static final Pattern VALID_PASSWORD_PATTERN = Pattern.compile("^[a-zA-Z0-9]{6,}$");