title: Regex for 1 or 2 digits with one optional decimal place
body: <p>I'm using: <a href="http://firstopinion.github.io/formatter.js/index.html" rel="nofollow">http://firstopinion.github.io/formatter.js/index.html</a> to mask inputs.</p>
  
  <p>I'm looking at "patterns" option and am having trouble writing the regex expression for 1 or 2 digits with an optional decimal place. </p>
  
  <p>Good inputs: <br />
  2.5 <br />
  12.5 <br/>
  .5 <br/>
  1</p>
  
  <p>Bad inputs: <br/>
  .25 <br/>
  123.5 <br/>
  1.55 <br/></p>
  
  <p>Thank you for any help!</p>