title: pattern for input type="text" with min and max number
body: <p>how to write pattern for input type="text" (it can't be number and the validation can't be with JS) that allow me to enter only numbers, min:1 and max:5000?</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>    &lt;input type="text" name="someName" id="someId" required pattern=""/&gt;</code></pre>
  </div>
  </div>
  </p>