--- 判断字符必须包含数字和英文 /[a-zA-Z]+(?=[0-9]+)|[0-9]+(?=[a-zA-Z]+)/g /^(?=.*[a-zA-Z]+)(?=.*[0-9]+)[a-zA-Z0-9]+$/