How do u write a regular expression for date (dd/mm/yyyy)
field?
Answer Posted / amarendra kothuru
The above regular expression(Ans:1) will fail as it allows
day between 31 to 40 as well.
The following regular expression takes care of all cases
and validate the format (dd/mm/yyyy)
(0[1-9]|[12][0-9]|3[01])/(0[1-9]|1[012])/\d{4}
Is This Answer Correct ? | 22 Yes | 15 No |
Post New Answer View All Answers
Can U Explain about QTP tool from older version to latest version also its differences?
I created 3 actions in test suppose I want to run action 1 in single time, action 2 is 4 time what I do?
What is the registration process and examination fees?
What are the advantages of parameterization ?
How to use the object spy in quicktest professional 8.0 version?
Which functionalities of QTP used in banking project? pls any say answer?
Hi this is chandra if any one have Navigation of LAB QTP, I want Navigation of those tools, if any one have the and know the Navigation each and every part of the QTP, plz send me my mail naruboinac@yahoo. com,naruboinas@ gmail.com
Explain QTP using different development techniques ?
How you are developing the script? Using record and play back or manual?
Explain the features and benefits of quick test pro(qtp)?
How to create runtime property for an object?
What is the use of sendkeys and what are send keys
what is the hierarchy to use properties in descriptive programming
What is smart identification in QTP?
If you giving priority as p0, as a developer if I give priority as p2, What happens In user defined function ?