Asp tutorial. net mobile phone Chinese and English digital verification controls
1 verification of mobile phone number: ^ 1 [0-9] d {9 }$, previously used: /^ 0 {0, 1} (13 [4-9] | 15 [7-9] | 15 [0-2]) [0-9] {8} $ /,
The Editorial Department asked a question: why can't I add a 189 number? I think the regular expression does not have a 189 number, and then I ran to a senior colleague, the regular expression he gave me was: d {11}. I saw that the verification was incorrect! Only 11-digit numbers can be input. There is no limit on the format or anything, and I have changed the format myself. Now there is no problem.
2 Chinese or English: [u4e00-u9fa5a-za-z _] +,
English: [u4e00-u9fa5]
English match: [a-za-z _]
3. Enter an integer or decimal number (only two decimal numbers can be input): (d +. d {1, 2} | d +)
4 Fixed phone format: (d {3}) | d {3 }-)? D {8}
5. Enter a number: [0-9] *
6 Please enter a valid mailbox, format xxx@xxx.xxx: w + ([-+. '] w +) * @ w + ([-.] w + )*. w + ([-.] w + )*
Collect this information for the moment, and accumulate it later.