title: html input pattern to accept only numbers from 4-10 and the char M
body: <p>The title says it all. </p>
  
  <p>How can I make an input accept only numbers from 4-10 and the letter M and nothing else?</p>
  
  <p>Thank you</p>