/** 輸入金額,1到6位整數(shù)或者至多兩位小數(shù) */
public static final String INPUT_AMOUNT_EXPR = "^[0-9]{1,6}(.[0-9]{1,2})?$";
/**銀行卡號(hào),16位數(shù)字*/
public static final String BANK_CARD_NO_EXPR = "^(\\d{16}|\\d{19})$";
/**美伽匯卡號(hào):16位數(shù)字*/
public static final String MEGAPAY_CARD_NO_EXPR = "^\\d{16}$";
/**支付密碼:6位數(shù)字*/
public static final String PAY_PWD_EXPR = "^\\d{6}$";
/**身份證號(hào):18位數(shù)字或者17位數(shù)字后面跟大寫(xiě)X */
public static final String ID_NO_EXPR = "^\\d{17}(\\d|X)$";
/**用戶(hù)名長(zhǎng)度介于 2 和 8之間的字符串,只能是字母數(shù)字和下劃線以及漢字 */
public static final String USER_NAME_EXPR = "^[a-zA-Z0-9_\u4e00-\u9fa5]{2,8}$";
/**登錄密碼長(zhǎng)度介于 6 和 10之間的字符串,只能是字母數(shù)字和下劃線 */
public static final String LOGIN_PWD_EXPR = "^[a-zA-Z0-9_]{6,10}$";
/**手機(jī)號(hào)碼*/
public static final String PHONE_NUMBER_EXPR = "^(1(([35][0-9])|(47)||[7][0167]|[8][0126789]))\\d{8}$";
/**驗(yàn)證碼6位數(shù)字*/
public static final String VERIFY_CODE_EXPR = "^\\d{6}$";
/**有效期4位數(shù)字*/
public static final String EXPIRE_DATE_EXPR = "^\\d{4}$";
/** CVV2 3位數(shù)字*/
public static final String CVV2_EXPR = "^\\d{3}$";
/**郵箱*/
public static final String EMAIL_EXPR = "^[\\w-]+(\\.[\\w-]+)*@[\\w-]+(\\.[\\w-]+)+$";
/**真實(shí)姓名,2到10位漢字*/
public static final String REAL_NAME_EXPR = "^[\u4e00-\u9fa5]{2,10}$";
/**修改密保問(wèn)題和答案時(shí)泵肄,不能包含的特殊字符 */
public static final char[]SPECIAL_CHAR = { '[',']','<','>','(',')',
'(',')','!','雌贱!','@','$','&','|','%','*','?','虫埂?','\'',
'\"','“','”','’','‘','/','\\' };