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
What is the use of HttpHandlers? When to use this?
What is a query string in a url?
What is custom attribute?
benefits of migration from asp to asp.net hi frnds, i have to give presentation to a client about how useful would be migrating their project from asp to asp.net .plz give me some points which i should incorporate in my ppt thanks
What are the various types of validation controls provided by asp.net?
What is state management in .net?
Define common type system?
When does a session actually start?
State differences between MVC and WebAPI
What are the asp.net server side objects?
What are server objects?
Define viewstate in .net?
What is recordset asp?
Explain managed code an un-managed code.
What is session mode in asp.net?