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...

From the given paragraph of text, write a program to match
the strings of format “Any number of numerals followed by
an underscore followed by any number of alphabets"
ex:123_abc
(Note:using regular expressions)

Answer Posted / raghuram

both the above answers are wrong....... Reg Exp should say..

new Regex("[0-9]*_[A-Za-z]*");

^ and $ mean beginning and end of a line... and the question
is to select that particular combination no matter where
they are present...... need not be entire line.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is web router?

860


Which library is used by the testers and developers to develop automated tests and create testing tools?

937


Write a code snippet to implement the indentation in json in web api.

1011


What are the Types of chaching. How to implement caching

951


What is query string?

967


Why is global asax is used?

967


Explain the difference between debug.write and trace.write?

917


What is the mvc model?

965


what is the difference between response.write() and response.output.write()?

1107


What is a gridview in asp.net?

964


Is there any property names “isnavigating”?

983


What is the main function of url routing system in asp.net mvc? : asp.net mvc

941


How you can manage the state of application at the server side in ASP.NET?

1014


Securitywise What are the Enhancements in 2.0?

1882


How to use a Master Database in Asp.net?

1009