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

This is Karthic and my mail id is karthic.venkitapathi@gmail.com, please give me an idea to crack qtp 10

0 Answers  


Give me At Least 5 Differences between DOCUMENTATION OBJECT MODEL(DOM)and COMPONENT OBJECT MODEL(COM)? Interviewer said me to WRITE the difference only in points not as you WRITE a paragraph ???? only in points

0 Answers   BirlaSoft,


We stored into the objects OR and then write the scripting

0 Answers   L&T, Wipro,


How do we run the scripts in QTP ?? what are the three options....

4 Answers   HCL,


How to get data from excel sheet to the script? write the script.

6 Answers   Ever, Liquid Hub,






What are the check points can be inserted without recording?

0 Answers  


i have 100 manual test cases, how to automate from no 1. ols detail steps

1 Answers  


How to perform cross platform testing and cross browser testing using qtp? Can you explain giving some example?

0 Answers  


Explain the keyword driven framework for the window based application complete creation of library files,env file,test data,recovery file,excel file ,repository etc and as a test engineer how is ur approach

0 Answers   AppLabs,


How do I lauch my test website using code from qtp in different environmet, uat and PPTE?

0 Answers  


Write a script to delete the a specific row (say 3rd) in a webtable.

0 Answers  


any one can explain about QTP proocess,means where to start and how to start Scripting.

3 Answers  


Categories