How to retrieve alpha bate from the alphanumeric string with
special character.
Answer Posted / shekhar
a="she25bh3k"
set reg=new regexp
s1="[a-z]"
reg.pattern=s1
reg.ignorecase=true
reg.global=True
set matchs=reg.execute(a)
for each match in matchs
a= match.value
''msgbox b
str=str&a
Next
msgbox str
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Where to use Property Let, Property Get, Property Set in UFT
In a flight window we have to enter the name and meal request for every passenger.In that window if we give Total passengers=1 then the Psngr1 name field and psngr1 meal request field will reflects.if we give Total passengers=2 then Psngr1 name field and psngr1 meal request field,Psngr2 name field and psngr2 meal request field and so on. how we can handle this scenerio thru Descriptive programming?
Hi all can any one give me roles and responsibilities for QTP (not WINRUNNER)
I want to open a Notepad window without recording a test and I do not want to use System utility Run command as well. How do I do this?
When do go for loop condition in test?
Please Don't mind .i want in detail the real time process i.e in each document what it contains.
What is fragmentation and paging?
How do you open adobe acrobat file in QTP and do some testing on that file ?
How to use conditional loops in qtp ?
How software tester can use constants and variables in scripts?
What is the file extension of the code file and object repository file in QTP?
What are the general steps involved in the data driven framework?
What is Curd testing?
When and why to use descriptive programming?
Hi! My OTP script has several bitmap checkpoints included which I check in the test results xml file. The test is for SAP 4.7. I need to save these bitmaps to files or at least export them to the html file using the export function in the test results viewer. Could you please help me with this problem? Thank you in advance! Best regards, Peter