title: Find the next word after a word in a string
body: <p>I am trying to record the word after a specific word. For example, let's say I have a string: </p>
  
  <pre><code>First Name: John
  Last Name: Doe
  Email: John.Doe@email.com
  </code></pre>
  
  <p>I want to search the string for a key word such as "First Name:". Then I want to only capture the next word after it, in this case John. </p>
  
  <p>I started using <code>string.find("First Name:")</code>, but I do not think that is the correct approach. </p>
  
  <p>I could use some help with this. Most examples either split the string or keep everything else after "John". My goal is to be able to search strings for specific keywords no mater their location.</p>
  
  <p>SOLUTION: 
  I used a similar set of code as below:</p>
  
  <pre><code>search = r"(First Name:)(.)(.+)"
  x = re.compile(search)
  </code></pre>
  
  <p>This gave me the "John" with no spaces</p>