04-10-2008, 06:56 PM
It is giving correct result.
Regular Expression:[A-Za-z]* means match capital A-Z or small a-z 0 or more times so even if you have 123 instead of abc it will pass.
Change it to [A-Za-z]+ (match capital A-Z or small a-z 1 or more times) and you will see that a123 would be "True" but 123 would yield "false"
Regular Expression:[A-Za-z]* means match capital A-Z or small a-z 0 or more times so even if you have 123 instead of abc it will pass.
Change it to [A-Za-z]+ (match capital A-Z or small a-z 1 or more times) and you will see that a123 would be "True" but 123 would yield "false"
Want to fast track your QTP/UFT Learning? Join our UFT Training Course