Back

中文正则

var reChinese = /^[\u4e00-\u9fa5]+$/; //中文名
var reEnglish = /^[A-Za-z]+([\s]?[A-Za-z]+)*$/i; //英文名