How to retrieve alpha bate from the alphanumeric string with
special character.

Answer Posted / nihar

str="BIBHU@#$%^^&*(sundar)(*&das"
set reg=new regexp
reg.global=true
reg.ignorecase=true
reg.pattern="[W]"
set x=reg.execute(str)
for each res in x
result=res.value&result
next
msgbox result

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I use Call dlls in QTP ?

1781


What is the parameterization? Give one example?

587


Explain in brief about the qtp automation object model (aom).

554


What is active screen?

560


Hi any body pls help me for QTP 11.0 software free demo version. i have to practice. Kindly send the link.or where i have to download.

1693






Define Environment Variable in UFT and its uses?

601


What are the key elements available in test result window?

618


What is system testing and what are the different types of tests you perform in system testing?

589


in qtp if we record a object and we record the object using virtual wizard then by which way the object is recognized that means recorded

1515


How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What's the difference between them? How to handle script issues?

523


On the website, the protocol has been changed https: to https what you will do? Tell me your approach?

577


When Recovery scenario actually starts while testing the application?

1535


What is the diff between image and bitmap check point?

595


Without integrating QC/Testdirector with QTP, is it possible to keep track of the defects?If yes how? How to export QTP results to an excel sheet?

1483


What is smart identification in QTP?

618