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 purpose of drive object of scripting.filesystemobject class in vbscript?

1011


Capture the Unique label changes on google home page for I am feeling lucky button and save those label changes to Notepad Note: Using QTP

2356


Mention characteristics of sub procedures?

1053


Explain about constants in vb script?

1030


does anyone have qtp11.0 license key.Please sendit to my mail id-rrvv2011@gmail.com...Thanks

2943


how to increasing the numbers in a given text box please write a vb script

2213


How are arrays declared in the vbscript language?

1001


Explain about tristate constants?

1025


Mention the rules for using option explicit statement?

998


What is the difference between for loop and while loop?

1063


How should i Create Email invite with server-side Coding?

2136


How to open a file. What is the perpose of true and false mode there?

1120


What if you do not specify anything when you call a procedure?

1134


what do you mean .ota mobile format

2485


How will you get the largest subscript of an array in vbscript?

1169