I'm writing an windows app using VB.net 2005. Part of the application has a password field in it for the user logins. I've been tinkering around with Regex for the last day or so however this is the first time that I'm using it so I'm not all that familiar with it. What I'm trying to do is verify that the password is in the correct format and must contain at least 1 uppercase letter and 1 number, have no special characters in it and the rest of the letters can be lowercase (ie. "Password123" as an example).
Unfortunately I'm not at my IDE at the current moment so I can't paste any of the code I currently have, however I can add it in later it need be. Does anyone know how I can code my app so that Regex will verify that the password string I pass it truely does contain at least 1 uppercase letter and 1 number and if it does not then it will provide a false condition if either the uppercase letter or the number are not present in the string. I will handle the responses for both the true and false conditions so there isn't a need to worry about that.