title: Regex - pattern for allowing only numbers
body: <p>I am trying to get a REGEX which allows only number starts from 1-9 and only of 4 characters and should can only have a zero after decimal.</p>
  
  <p>This is what i have written so far, but it fails every time.</p>
  
  <pre><code>^[1-9]\\d{4,4}(\\.\\d{1,1})?%?$
  </code></pre>
  
  <p>I am using this as a validation in java while reading an excel sheet.</p>