title: Regex validation code for excel file upload jQuery
body: <p>how to validate excel files</p>
  
  <p><strong>My JQuery</strong></p>
  
  <pre><code> jQuery("#excel").validate({
        expression: "if (VAL.match(/^([a-z]\w*)\.(xls[mx]?)$/) &amp;&amp; VAL) return true; else return false;",
        message: "Please upload valid excel file"
   });
  </code></pre>