write a regular expression pattern for xyz?123?



write a regular expression pattern for xyz?123?..

Answer / nagaveni n

case 1: xyz?123? - if xyz is varying then
regular expression pattern would be
Re = .*\?123\?

Case 2: xyz?123? - if 123 is varying then
regular expression patter would be
RE = xyz\?[0-9]*\?

Is This Answer Correct ?    6 Yes 0 No

Post New Answer

More QTP Interview Questions

How many add-ins comes by default with quicktest professional?

0 Answers  


How to capture screenshots of Exceptions/Errors during run- time?

12 Answers   Ordain Solutions,


hw to create a frame work in qtp..what are the basic steps

2 Answers   Infosys,


If an application name is changes frequently i.e while recording it has name "Window1" and then while running its "Windows2" in this case how does QTP handles?

1 Answers   Crea,


How to get the column count and column name from the resultset in the database connection program?

5 Answers   TCS,


Will down time for server and content maintenance/upgrades be allowed? how much?

0 Answers  


what is ODC and GDC?

0 Answers   Patni,


What is the difference between the design-time and run-time data tables?

0 Answers  


Explain about the Test Fusion Report of QTP?

1 Answers   Crea,


How many actions we can create with in a test?

7 Answers  


How to use the Object spy in QTP 8.0 version?

2 Answers  


Difference between image checkpoint and bitmap checkpoint

2 Answers  


Categories