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
Take a Large textbox allow to type any data. Task 1:display the count of vowels in a lable on key press event of the textbox Task 2:dispaly count of dates in a lable when dates in following foramats:dd/mm/yy , mm/dd/yy , yy/mm/dd. Task3:compare 2 dates and display both are same or not which dates are in dd/mm/yy and mm/dd/yy farmats.
What is a session government?
What is inheritance and an how it be used, example with an example?
Why do we need Sessions?
What does passport and windows authentication mean in ASP.NET?
Explain the difference between value type and reference type?
What do you mean by role-based security?
What is Pre-Render event in ASP.NET?
What is a web based system?
Where is http session stored?
Define transparent caching with aop?
What is application in asp net?
What are the different types of proxy patterns?
Describe how ASP.NET maintains process isolation for each Web application?
What is ispostback method in asp.net?