<asp:textbox id="textbox1" runat="server">
<asp:regularexpressionvalidator controltovalidate="textbox1" display="dynamic"
errormessage="* Your entry is not a valid e-mail address." id="valRegEx"
runat="server" validationexpression=".*@.*\..*">*
</asp:regularexpressionvalidator>
</asp:textbox>
Monday, 10 May 2010
How to create an email validator on a web page
Came across this requirement recently on an asp.net application I'm developing. Handy to know that you can easily create a regular expression to handle email formats like this:
Subscribe to:
Post Comments (Atom)
The builders of Spinomenal approached the graphics responsibly, so the feeling of being at a tennis match is wholly created. For example, in the background, you'll be able to|you probably can} hear the ball hitting the racket when hit. We’ve got it all—everything from the 카지노사이트 high-stakes type of blackjack, the fast-paced excitement of craps, to the thrill and strategy of Pai Gow poker.
ReplyDelete