var regExpression = /[\u4E00-\u9FA5]/ //验证是否为汉字
var regExpression = /^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|(3[0-1]))\d{3}({\d|x|X})$/ //验证身份证
var regExpression = /(^\s*)|(\s*$)/g