How to return only alpha bate string from an string str =
"bibhu@#$%&das&*)(SUndar"
Answer Posted / usha
str="bibhu@#$%&das&*)(SUndar"
Set r = new regexp
r.pattern="[A-Z]"
r.global=true
r.ignorecase=true
Set a =r.execute(str)
msgbox a.count
For each t in a
msgbox t
Next
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Mention how you can call vbscript functions?
Explain the .wsf files?
How to delete a cookie using vbscript?
How to declare an array in vbscript?
What is the difference between function and procedure?
hi Set myobj=Description.Create() myobj("type").value="submit" myobj("name").value="google search" myobj("html tag").value="button" browser("title:=google").page("title:=google").webButton (myobj).Click i was running above code in one weak back it was working fine i got result,again i opened after few days ,again i was trying to run the code it shows run time error in last line of my code ,why ?pls answer my question?
1. How to handle object implementation change in DP for Ex: i have login page with username,pasword (editboxes),login,cancel(buttons). Here i written DP code for login page with the help properties. My questions: 1.If properites are changing dynamically i will do (i want code for that) 2.if objects are changed dynamcally i will do (i wnat code for that)
What is the purpose of folders object of scripting.filesystemobject class in vbscript?
Mention what is vbscript?
What are the differences between sub procedures and function procedures?
filter the array values without using filter function?
How will you convert a string to lower case string using vbscript?
Difference between dim,public and private variables in vb script?
wht must be the interview question on corinthian information technology solutions incorporated.
Differentiate javascript and vbscript?