//身份证正则表达式(15位)
isIDCard1=/1\d{7}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}KaTeX parse error: Undefined control sequence: \d at position 37: …IDCard2=/^[1-9]\̲d̲{5}[1-9]\d{3}((…/;
身份证正则合并:(^\d{15}KaTeX parse error: Undefined control sequence: \d at position 5: )|(^\̲d̲{17}([0-9]|X))
电话号码:^1(3|4|5|7|8)\d{9}$
邮箱:"2+([._\-][a-z0-9])@([a-z0-9]+[-a-z0-9]*[a-z0-9]+.){1,63}[a-z0-9]+$"
办公号码 /^(((()?d{2,4}())?[-(s)*]){0,2})?(d{7,11})$/
- 1-9 ↩︎
- a-z0-9 ↩︎