Ec (2); verify a string consisting of 26 English letters: ^ [a-za-z] + $ verify a string consisting of 26 uppercase English letters: ^ [a-z] + $ verify a string consisting of 26 lower-case letters: ^ [a-z] + $ verify a string consisting of digits and 26 English letters: ^ [a-za-z0-9] + $ verify a string consisting of digits, 26 letters, or underscores: ^ w + $ verify the user password: ^ [a-za-z] w {5, 17} $ the correct format is: starting with a letter, the length of "script" ec (2); "script"
Verify a string consisting of 26 English letters: ^ [a-za-z] + $
Verify a string consisting of 26 uppercase letters: ^ [a-z] + $
Verify a string consisting of 26 lower-case letters: ^ [a-z] + $
Verify a string consisting of digits and 26 English letters: ^ [a-za-z0-9] + $
Verify a string consisting of digits, 26 English letters, or underscores: ^ w + $
Verify User Password: ^ [a-za-z] w {5, 17} $ the correct format is: it must start with a letter and be between 6 and 18 characters. It can only contain characters, numbers, and underscores.
Check whether ^ % & ',; =? $ "And other characters: [^ % & ',; =? $ "] +
Verify Chinese characters: ^ [u4e00-u9fa5], {0,} $
Verify email address: ^ w + [-+.] w +) * @ w + ([-.] w + )*. w + ([-.] w +) * $
Verify interneturl: ^ http: // ([w-] +.) + [w-] + (/[w -./? % & =] *)? $; ^ [A-za-z] +: // (w + (-w +) *) (. (w + (-w + )*))*(? S *)? $
Verification phone number: ^ (d {3, 4}) | d {3, 4 }-)? D {7, 8 }$: -- the correct format is: xxxx-xxxxxxx, xxxx-xxxxxxxx, xxx-xxxxxxx, xxx-xxxxxxxx, xxxxxxx, and xxxxxxxx.
Verify the ID card number (15 or 18 digits): ^ d {15} | d {} 18 $
12 months of verification: ^ (0? [1-9] | 1 [0-2]) $ the correct format is: "01"-"09" and "1" "12"
31 days of verification for a month: ^ (0? [1-9]) | (1 | 2) [0-9]) | 30 | 31) $ the correct format is: 01, 09, 1, 31.