title: Html input text pattern currency number only
body: <p>I wanted to create a regex which accept <strong>0 to 14</strong> digits before decimal point (.) and <strong>0 to 6</strong> digits after decimal points. How should I proceed further with following pattern?</p>
  
  <p><code>&lt;input type="text" pattern="\d+(\.\d{0,6})?" required/&gt;</code></p>
  
  <p>Type of values:</p>
  
  <ul>
  <li>120 -match</li>
  <li>120.50 -match</li>
  <li>123456789012345.67 -not match</li>
  <li>12345678.2222 -match</li>
  <li>12345678.1234567 - not match</li>
  </ul>