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

what are the environment variables,how do you use them. give an example.

3 Answers   Polaris,


What is the use of defining a newobject in the object repository "Define New TestOject". How to use this further. If we define new testobject, how can it recognizes the objects properties of any application.

0 Answers  


How to import a test case present in ".xls" file to TD under a Test set?

0 Answers  


What is the quicktest professional testing process?

0 Answers  


How to face prjoect manager round what type of questions they will Ask ? (Chandana)

1 Answers   Call Centre, Convergys, IBM,






what is the syntax or command in vbscript to display user message example i want to display "welcome to QTP".

3 Answers  


How did you use regular expressions in QTP and also in WR?

0 Answers  


What is parameter in qtp?

0 Answers  


can somebody send the script to write a multiplication table in notepad through qtp

3 Answers   AppLabs,


Get the count of files of similar types from a folder.

0 Answers   Deloitte,


how do you done Data-driven test using MS-Word Instead of DataTable

3 Answers   IBM,


1) What is the diff Between GetRoproprty and Gettoproperty? 2)What is Redim?

5 Answers   STC,


Categories