title: Cleaning names in R
body: <p>Hi I have a column with names. It has names in the format of:
  <code>c(&quot;Tom&quot;, &quot;Tom Turner&quot;, &quot;Dr. Tom Turner&quot;, &quot;R. Tom Turner&quot;, &quot;J Tom Turner&quot;, &quot;Jr. Tom Turner&quot;)</code>.
  I just want to extract the first name but I am not exactly how to do it in an easy way due to the prefixes on the names. Please let me know if you have any suggestions.</p>