Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Out of the different type of operators, which are evaluated first and last in the vbscript language?

1012


What are the properties of regexp object?

1118


did any one attended interview in applabs if you had gone through plz tell me the procedure

2282


How many types of procedures are available in the vbscript language?

1010


Explain the filter expression?

1101


how to operate webobjects in a webpage using getobject function and then using generic methods?

3122


1.I want to establish connection with excel and also want to fetch the data using SQL queries. 2.the code should be written in such a way that in future if I want to migrate from excel to MS excess database , then there should be minimal changes.

2018


Mention how to access array data?

1018


How to make sure that items in a wintree are sorted al?

2854


Mention what is the technology used by vb script?

987


How can you create an object in vbscript?

1095


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

2246


By default in vbscript the arguments passed to functions and subroutines are by reference or by value?

1128


What are the 2 ways to pass a value to the function?

969


while using Keyward driven framework in QTPif new requirements are added how to manage it...plz ans

2074