title: Regex expression to check if the string is valid
body: <p>I need help with creating a regex that can return if any of these options are valid. </p>
  
  <p>TypeA:<br/></p>
  
  <ul>
  <li>############</li>
  <li>############A</li>
  <li>###########</li>
  <li>###########A</li>
  </ul>
  
  <p><br/>
  TypeB:<br/></p>
  
  <ul>
  <li>###########</li>
  <li>###########A</li>
  <li>###########AA</li>
  <li>##########A</li>
  <li>##########AA</li>
  </ul>
  
  <p>where # represents a digit and A an alphabet.  I really appreciate your help in the matter.</p>
  
  <p>Thanks!</p>