I have a zipcode regex validator that works fine as long as the user puts in something. However, if the textbox is blank completely then it doesn't work. Any ideas why? Here is my code. Thanks
<asp:RegularExpressionValidator ID="reZipCode" ControlToValidate="zipInput"
ValidationExpression="^(\d{5}$¦^\d{5}-\d{4}$){1}"
ErrorMessage="Not a valid Zip code!"
Display="static" runat="server" CssClass="errorMessage"/>