2019独角兽企业重金招聘Python工程师标准>>> if (!/^[\u4e00-\u9fa5]+$/i.test(name)) { showTip("姓名只能是纯汉字"); return; } 转载于:https://my.oschina.net/hehongbo/blog/731220