<%@ Page Language="C#" %> Regular Expression Tester Email: runat="server" ControlToValidate="txtEmail" ValidationExpression="^(.+)@([^\.].*)\.([a-z]{2,})$" Text="Enter a valid email" /> Text="Click this to test validation" runat="server" />