title: Jquery; validate if asp.net textbox has 19 character length and is in format
body: <p>I have a asp.net web application in which I have added bootstrap and jQuery. I want to check if the minimum and maximum length is 19 characters and has the format as below:
  First 3 alphabets
  Characters 4 till 15 are numbers
  Character 16 is a period
  character 17 to 19 contains the string zip</p>
  
  <p>The field is defined as below:</p>
  
  <pre><code>&lt;asp:TextBox CssClass="form-control" ID="txtfilename" required="true" runat="server" placeholder="ABC1201901003.ZIP" /&gt;
  </code></pre>
  
  <p>I am trying to check in textbox change event:</p>
  
  <pre><code>$('#&lt;%=txtfilename.ClientID%&gt;').change(function (e) {
      var value = $(this).val();
  });
  </code></pre>
  
  <p>How to check if the text has minimum and maximum characters and uses the format?
  Thanks</p>