Validation ASP.Net Tutorial

<%@ Page Language="C#" %>



    Regular Expression Tester


    
    

    
                           runat="server" 
                   Text="The Following Field (TextBox3) Must be a US Zip Code.">
        
                                                runat="server" 
                                        ControlToValidate="TextBox3"
                                        ErrorMessage="TextBox3 Must be a US Zip Code" 
                                        SetFocusOnError="True" 
                                        ValidationExpression="\d{5}(-\d{4})?">*