$.extend($.fn.validatebox.defaults.rules, { regex: { validator: function (value, param) { var regex = new RegExp(param[0]); regex.ignoreCase = true; regex.global= true; return regex.test(value); }, message: '请输入正确的信息' }, minlength: { validator: funct…