title: Ruby regexp - How to validate 8 digit number?
body: <p>I am trying to validate a 8 digit phone number ex. <code>12345678</code></p>
  
  <p>I have created this regexp pattern <code>[0-9]{8}</code> the only problem is that it also matches a phone number that have more than 8 digits. How do I limit the regex pattern to 8 digits?</p>