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

Raghuram is right and his regex is 100% correct. The other
2 answers also have a string which does nothing:

string s = input;

so it is not necessary.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you use c# without .net?

540


What does the .webpart file do?

583


What is the difference between equals() and == in c#?

564


How can we create a website?

532


How would you get asp.net running in apache web servers? Explain it's limitations.

529






What is the difference between web.config and machine.config in ASP.NET?

594


what is silver light when will we use silver light,

1438


Contrast oop and soa. What are tenets of each16. How does the xmlserializer work? What acl permissions does a process using it require?

517


code for "For every 5days system has to create 1text file with the corresponding date and it has to store in c-drive" by using web applications

1411


How can we Validate a Controls in ASP.NET page using JavaScript?

628


What I need to create and run an asp.net application?

512


How you will handle session when deploying application in more than a server?

587


Will the asp.net validators run in server side or client side? How do you do client-side validation in .net?

519


Who is using asp.net?

501


What is session and cookies in asp.net?

548