title: regex for any digits mandatory and two decimal points
body: <p>I would need your help to create a regex for an input mask that would validate an attribute with 1 or 2 decimal numbers.</p>
  
  <p>Example of valid values:</p>
  
  <pre><code>1234.1 (number can be any digits long before "." but only 1 number after ".")
  1234.12 (number can be any digits long before "." but only 2 number after ".")
  </code></pre>