Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Regular Expression for a Password
#3
Not Solved
Hi Ritesh,
Lets assume ur password: pwd=venk1a;?
You can do validation for this:
1. Password should be 8 characters
Code:
If len(pwd)=8 Then
Pass
Else
Fail
End If

2. To fetch the fiftch character use Mid function
and pass "IsNumeric" function to find whether it is Numeric or Not

3. Right(pwd,1)<> "%" or "^" and Left(Right(pwd,2),1)<> "%" or "^".

Please let me know for further clarification.

Venkat.Batchu
Reply


Messages In This Thread
Regular Expression for a Password - by ritesh - 08-04-2010, 10:33 AM
RE: Regular Expression for a Password - by venkatbatchu - 08-09-2010, 03:18 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Need Any digit in xpath path using Regular expression Priyam 1 3,275 10-05-2016, 11:05 AM
Last Post: Ankur
  Regular expression to read two words in lowercase, uppercase and with and without spa sarahq49 1 3,222 04-09-2015, 01:56 AM
Last Post: sarahq49
  Regular expression and script optimisation Padmavathy 1 3,634 03-30-2015, 11:46 AM
Last Post: supputuri
  Regular expression in descriptive programming testernc 1 16,419 12-08-2014, 06:38 PM
Last Post: anshika.agarwal
  need a regular expression. anu05446 0 3,037 11-26-2014, 03:00 PM
Last Post: anu05446

Forum Jump:


Users browsing this thread: 1 Guest(s)