title: Parsing Last Name from Name in Python
body: <p>Trying to determine a single last name.</p>
  
  <pre><code>names = ["John Smith", "D.J. Richies III","AJ Hardie Jr.", "Shelia Jackson-Lee", "Bob O'Donnell"]
  </code></pre>
  
  <p>Desired Output</p>
  
  <pre><code>last_names = ['Smith', 'Richies','Hardie','Lee', 'ODonnell' ]
  </code></pre>
  
  <p>I'm hoping there is an existing library or set of code that can easily handle some of these more rare/odd cases. </p>
  
  <p>Thanks for your help!</p>