title: Regular expressions: What is the difference between `[0-9]{1,2}` and `^[0-9]{1,2}$`?
body: <p>What is the difference between <code>[0-9]{1,2}</code> and <code>^[0-9]{1,2}$</code>?</p>
  
  <p>If we remove <code>^</code> and <code>$</code>, what will the effect be in this case?</p>