title: Masking Textbox to accept only decimals
body: <p>I am using the technique from this link to mask my textbox to accept strings that are in decimal-format (Digits with a single period).</p>
  
  <p><a href="https://stackoverflow.com/questions/1103765/how-to-define-textbox-input-restrictions">How to define TextBox input restrictions?</a></p>
  
  <p>Here is the regex I put in the mask:</p>
  
  <pre><code>b:Masking.Mask="^\d+(\.\d{1,2})?$"
  </code></pre>
  
  <p>For some odd reason, it lets me input the digits but I cannot insert the period in my textbox.</p>
  
  <p>I've also validated the regex here so regex is definitely correct.</p>
  
  <p><a href="http://derekslager.com/blog/posts/2007/09/a-better-dotnet-regular-expression-tester.ashx" rel="nofollow noreferrer">http://derekslager.com/blog/posts/2007/09/a-better-dotnet-regular-expression-tester.ashx</a></p>
  
  <p>What could be the issue?</p>