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

Explain few date functions in vbscript?

1121


Explain the adodb.stream class?

1064


How will you reverse a string in vbscript?

1217


How to create a cookie using vbscript?

1275


what is the difference between modular and data and keyword driven framework

2326


Write a Program to add 2 numbers without using operators (+,-) and without using third variable. Note: Use VBScript only Hint: You can use other operators like '/' & '*'(Division & Multiplication)

3730


How to capture a runtime error in vbscript?

1216


who will create the object?

2252


Mention the rules for using option explicit statement?

1065


write a function to read the items from combobox of Flight reservation & save in excel (QTP)??

2898


how to acces the remote mechine using vb cript(QTP)

2089


How to access array data?

1054


Anyone have qtp11.0 crack?

2899


There are 5 web pages.write a script to click the button on 4th web page.

3476


How to identify column in VSFlexgrid? My VSFlexgrid window is identified as 'Active X Control'

3794