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
Hai this is sheik, i want to learn VB scripts for web application pls guide me what are all basic things need to know to learn VB scripts in web application.
How to Import data from a file (file is on the desktop) to the data table
what is resorceallocation
Explain about filter expression?
Can anyone send me a vb script function for verifying the functionality of active links on a web page
What are the different types of loops available in the vbscript language?
How will you get the largest subscript of an array in vbscript?
Write a test case using Test if the images,a particular test exists,check if the page links match,page response is within a certain range,parameterization of the test,the test should comprise of actions,the test should use a custom function,the test should use global repository
How to assign a date value to a variable?
Which function is used in the vbscript language to convert the specified expression into a date type value?
What is the event handling in vbscript?
i wrote vbscripit code in notepad i got error i am in learning stage if u ps tell me what wrong in my code my error is "object required descriptive at line one run time error"and my code is "set usernameobj=Descriptive.Create() usernameobj( "name").value="Username" set passwordobj=Descriptive.Create() passwordobj("name").value="password" set signinobj=Descriptive.Create() signinobj("name").value="sigin" browser("gmail").page("gmail").WebEdit("usernameobj").set ("enter username") Browser("gmail").Page("gmail").WebEdit("passwordobj").Set secure.Crypt.Encrypt("enter password") browser("gmail").page("gmail").WebButton("siginobj").click
How will you get the natural logarithm of the given number in vbscript?
What is the purpose of on error resume next statement?
Which command is used for writing text on a page?