My password validation regex ensures that the password is between 6 and 25 characters long, and contains at least one number.
var passwordRegEx = /^(?=.*\d)(?=.*[a-zA-Z]).{6,25}$/;
if(!#quickRegister_Password').val().test(pass))
{
errorMgs += 'Your password must be at least 6 characters and have at least 1 number and 1 letter.\r\n';
}
This code works perfectly in Firefox, Chrome, IE8 (IE7 ran from compatibility in IE8) but encounters issues in standalone IE7.