title: Extracting first name and last name in Python
body: <p>I'm trying to extract all the first names AND the last names (ex: John Johnson) in a big text (about 20 pages).</p>
  
  <p>I used split with <code>\.</code> as separator and there is my regular expression:</p>
  
  <pre><code>\b([A-Z]{1}[a-z]+\s{1})([A-Z]{1}[a-z]+)\b
  </code></pre>
  
  <p>Unfortunately, I only get all the lines of my text instead of only the first names and last names:</p>
  
  <pre><code>Suddenly, Mary Poppins flew away with her umbrella
  Later in the day, John.... bla bla bla
  </code></pre>
  
  <p>Could someone help me?</p>