title: Regular expression for 0 or a positive number
body: <p>I need a regular expression to check that a string's value is either a '0', or a positive number with a length equal to 1 to 10 (also where the first digit cannot be zero). </p>
  
  <p>I'm stuck, I can get the 0, but I can't get the positive number.</p>
  
  <p>Here is what I have:</p>
  
  <pre><code>(^([0])$)|(^([1-9][0-9]{0-9})$)
  </code></pre>
  
  <p>This reg exp looks a little crazy, I've been trying a lot of different things and making even more crazier and crazier. </p>