i have two questions for regular expression :-
Q1. I have date pattern
eg-29/11/2011
29-11-2011
29.11.2011

Que- if any separator is there between date,month and year pattern should match else it should not match
eg- pattern should not match in case of 2911-2011

Q2. let say i have a string and there is a number in between of that string
eg.-Amount 30002.234 successfully credited to your account .
now i have to match this pattern in such a way that even if decimal is not there pattern should match ,how i will do this using regular expression


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More QTP Interview Questions

hi i want write code for "test engineer" in this i want write reverse how ca plz let me know through script

4 Answers  


how to test power point using QTP 8.2 ? What are different methods to retrieve value from Application during runtime ?

3 Answers   HCL,


what is tool interface?

1 Answers   ITC Infotech,


where u maintain qtp scripts in ur company

4 Answers   HCL,


Where we save all scripts in the QTP

5 Answers   Ordain Solutions, Sathya Technologies,






Can you tell me any books or websites to learn VB Script for QTP ??

1 Answers  


LINUX environment supports QTP or not? LINUX environment supports QC or not?

4 Answers  


can u explain about QTP Frameworks? what are the framework types are available? and How to set or create frame work for a application? Explain briefly?(Also give me one example)

1 Answers  


How to use parameterization in qtp?

0 Answers  


Error handling

3 Answers   Wipro,


What are the benefits of quick test pro(qtp)?

0 Answers  


1.explain end to end process of qc,2.how many tabs are in qc9.0,qc10.0 3.what is review, how many reviews are following in aproject 4.how will you get the requirements 5.why do we choose testing 6.how to export tc's and requirements to qc through add-ins

0 Answers  


Categories