title: regex and grep match only string with only single or double digit
body: <p>I need to extract a string with only single or double digit number in them. my file (test) looks like</p>
  
  <pre><code>test1correct
  test12something
  test123wrong
  </code></pre>
  
  <p>In the above example, i want to grep only for 
  test1correct  and test12something</p>
  
  <p>I tried this
  grep "test[0-9]{1,2}" test but it gives me all the 3 lines.  </p>