title: Using regex to filter strings by length
body: <p>I am trying to validate a input field with regex with this pattern <code>[A-Za-z]{,10}</code>
  I want it to only find a match if 10 or less chars was sent in the input field, the problem I get is that it will match all words that is less then 10 chars. </p>
  
  <p>Is there a way to say if there is more then 10 chars in the input field come back as false, or is it just better to do a <code>strlen</code> with php?</p>