I have a regex validating a password value to be > 6 < 25 characters with at least one number.
var passwordRegEx = /^(?=.*\\d)(?=.*[a-zA-Z]).{6,25}$/;
if(
I think you have run into the regular expression lookahead bug in IE7's javascript engine.
Run the tests on this page and see if your results match up; you will probably see the lookahead tests fail: http://www.javascriptjedi.com/regex/tests/
Information: