title: Regular expression that accepts only two digit integer or a floating number
body: <p>I am trying to validate a text field that accepts number like 10.99, 1.99, 1, 10, 21. </p>
  
  <pre><code>\d{0,2}\.\d{1,2}
  </code></pre>
  
  <p>Above expression is only passing values such as 10.99, 11.99,1.99, but I want something that would satisfy my requirement. </p>