How does the regular expression validator work? What are two
situations when you might want to use one?
Answer Posted / pallavi
E-mail: <asp:textbox id="textbox1" runat="server"/>
<asp:RegularExpressionValidator id="valRegEx" runat="server"
ControlToValidate="textbox1"
ValidationExpression=".*@.*"
ErrorMessage="* Your entry is not a valid e-mail address."
display="dynamic">*
</asp:RegularExpressionValidator>
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Explain the difference between response.redirect vs server.transfer
What is difference in .net 1.1 and .net 2.0?
Fetch one page value to another page without using state-managment ?
What is the full meaning of asp.net?
How do you secure your connection string information?
Give some salient points of difference between request processor and request dispatcher.
What is the difference between mechine.config and web.config?
i have 3+ exp in .net? i am going interview now but they asked me do you know any TOOL? which tool will i study please refer me?
What is applicatio domain?
What is a session in programming?
What is datagrid asp.net?
How Session use Cookies in State Management?
What is the difference between client-side and server-side validations in ASP.NET?
Hi All, Im an MCA holder with 3+ years of experience in asp.net. Now i want to move to some good government job. I have no idea about different categories of exams held & which one can be applicable for my education background. I have done B.A with MCA. Please help me out with your valuable suggestions. I would be very grateful. Thanks Anuj
What is asp.net and ado net?