//密码规则校验
var num = 0;
var rule1 = /\d+/;
var rule2 = /[a-z]+/;
var rule3 = /[A-Z]+/;
var rule4 = /[~!@#\$%^&*\(\)\{\};,.\?\/'"]/;
var rule5 = /^.{8,16}$/;
var flag1 = rule1.test(newPwd);
var flag2 = rule2.test(newPwd);
var flag3 = rule3.test(newPwd);
var flag4 = rule4.test(newPwd);
var flag5 = rule5.test(newPwd);
var num = 0;
var rule1 = /\d+/;
var rule2 = /[a-z]+/;
var rule3 = /[A-Z]+/;
var rule4 = /[~!@#\$%^&*\(\)\{\};,.\?\/'"]/;
var rule5 = /^.{8,16}$/;
var flag1 = rule1.test(newPwd);
var flag2 = rule2.test(newPwd);
var flag3 = rule3.test(newPwd);
var flag4 = rule4.test(newPwd);
var flag5 = rule5.test(newPwd);