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
Is LINQ performance wise better or using sqlcommand?
How do http sessions work?
Why is global asax is used?
What are asp.net web forms?
What is preprocessor in .net and type, where it use?
Dataset is the disconnected environment. suppose if you are binding records to gridview (disconnected environment) and you are making changes to the the grid but before updating the database if any other user modify the data, how will you avoid such problem?
Why is the standalone environment only useful during the development process?
How can we inherit a static variable?
What are validator? Name the validation controls in asp.net? How do you disable them? Will the asp.net validators run in server side or client side? How do you do client-side validation in .net? How to disable validator control by client side javascript?
What is Difference between Production Serves and Development Servers? And Suppose, m adding/deleting C# file in a project based on the Specific Requirement. These Files are Automatically updated in Production Servers? So Which tool is needed to do This One?
How does ASP.NET framework maps client side events to Server side events.?
A Web Service Can Only Be Written In .net. Is it True??
Explain MVC model binders?
Differentiate between client-side and server-side validations in web pages.
What are the uses of list view control in Asp.net?