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 / indrani

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
s1=s1+t
Next
msgbox s1

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the event handling in vbscript?

951


how to answer "TELL ME ABOUT UR SELF" as exp.person. whr to start and whr to stop. can anyone tel me

1817


Explain about the asc function?

997


Can u describe what kind of testing are for OTC derivates by banks.

2100


How to Import data from a file (file is on the desktop) to the data table

2021


How to replace junk code recorded by QTP with a mall function.

2041


How to create a function in vbscript?

1164


can anyone send me a vb scripts code for clicking on a link and coming back on home page again does the same for many links on a web page.

2265


What is vbscript?

1043


Explain about scrrun.dll?

918


How will you compare two strings in vbscript?

1025


Can we create Crystal Report object in QTP?If yes then what it is and what are its various properties?

3421


Which date function is used in the vbscript language to find the difference between the 2 dates?

1026


Explain about arrays in vb script?

1030


What's the difference between vbscript and vb.net?

1058