title: regex 1-9999 for form validation
body: <p>I am trying to write some form validation, I need one of the inputs to be 1-9999. I know nothing about regular expressions ( never used them before) and here is my first attempt</p>
  
  <pre><code>/^([1-9][1-9]|[1-9]|[1-9]\d|9999)$/
  </code></pre>
  
  <p>Does not seem to want to work, can anyone help me? Thanks!</p>