08-04-2010, 10:33 AM
I am doing descriptive programming and i need to use Regular Expression for validating a password and the requirement are as follows:
1) Password should contain 8 characters.
2) Fifth character should be numeric.
3) Last 2 characters should be special charactes except % and ^ characters.
Please let me know how to cover this.
Thanks in advance..
1) Password should contain 8 characters.
2) Fifth character should be numeric.
3) Last 2 characters should be special charactes except % and ^ characters.
Please let me know how to cover this.
Thanks in advance..