title: One or two numeric digits Regex
body: <p>I have the below code. It works only when I have 2 digits. If I have 1 digit doesn't work. I want to work in both cases: one or two digit.<br/>
  <code>var numberRegex = /^[1-9][0-9]$/;</code><br />
  I've tried something like this but unfortunately doesn't work:<br/>
  <code>var numberRegex = /^[1-9]?[1-9][0-9]$/;</code><br/>
  Thanks for support.</p>