I want to check password strength of password entered by user in Asp.Net page.
I have comeup with a javascript regular expression to do it.
But I am not sure How to match string using regular expression. I have write this code, but its not working.
I think there is an error in line
if (true==checkspace.exec(password))
alert("spaces are not allowed");