title: regex check second letter of string
body: <p>I have a fun little task. I need to set a variable to true if:</p>
  
  <p>string ends in a letter or the second digit in the string is either a "p" or "r".</p>
  
  <p>So far, I have </p>
  
  <pre><code>var endingIsLetter = Regex.(myString.length - 1) ??? magic here.
  </code></pre>
  
  <p>Any help? My regex buddy is on a dead laptop.</p>
  
  <p>EDIT -- REGEX is not required. I just thought it would be the easiest way to get this done. Any examples are welcome.</p>