title: Regular Expression to find last name in "Firstname Lastname, Credentials" format
body: <p>I am trying to find the last name from full names with trailing credentials. Some names have middle names or initials, hyphenated names, multiple credentials, and some have no trailing credentials:</p>
  
  <ul>
  <li>John Doe, MD</li>
  <li>Jane X. Doe, FNP-C  </li>
  <li>Joe Cool, MD, PhD  </li>
  <li>Billie-Jo Last  </li>
  </ul>
  
  <p>I've started with</p>
  
  <pre><code>/\w+(?=[\s,]+\S*$)/gmi
  </code></pre>
  
  <p>which gets the last names of the first 2 formattings, but picks up the 1st credential and first name of the second 2 formattings, respectively.</p>
  
  <p>Thank you for all your help.</p>