Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Please read this: Regular Expressions
#5
Not Solved
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"
Want to fast track your QTP/UFT Learning? Join our UFT Training Course


Messages In This Thread
Please read this: Regular Expressions - by Ankur - 01-04-2008, 03:44 PM
RE: Please read this: Regular Expressions - by Ankur - 04-10-2008, 06:56 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
At Regular Expressions for e-mail address ganesh.dengale 6 18,563 08-23-2022, 02:51 PM
Last Post: ahmad3029
  Regular expression to read two words in lowercase, uppercase and with and without spa sarahq49 1 3,218 04-09-2015, 01:56 AM
Last Post: sarahq49
  How to disable regular expressions in a text? ttralor 6 6,214 07-05-2013, 02:44 PM
Last Post: Staff
  Need help on using regular expressions on Java Window's title qa_tester 3 4,837 02-13-2012, 10:56 PM
Last Post: madsenfr
  java window titles & regular expressions jotdog2 1 4,056 02-13-2012, 10:55 PM
Last Post: madsenfr

Forum Jump:


Users browsing this thread: 1 Guest(s)