1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
| let reg = /^([a-zA-Z]|[0-9])(\w|\-)+@[a-zA-Z0-9]+\.([a-zA-Z]{2,4})$
let reg = /^1[0-9]{10}$/;
let reg = /^1(3|4|5|7|8)[0-9]{9}$/;
let reg = /^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{8,16}$/;
let reg = /\d{3}-\d{8}|\d{4}-\d{7}/;
let reg=/(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/;
let reg = /[1-9][0-9]{4,}/;
let reg = /\d+\.\d+\.\d+\.\d+/;
let reg = /^[\u4e00-\u9fa5]*$/;
|