title: Extract data from text file using Python (or any language)
body: <p>I have a text file that looks like:</p>
  <pre><code>First Name  Bob 
  Last name   Smith
  Phone   555-555-5555    
  Email   bob@bob.com
  Date of Birth   11/02/1986  
  Preferred Method of Contact Text Message    
  Desired Appointment Date    04/29   
  Desired Appointment Time    10am    
  City    Pittsburgh  
  Location    State
  IP Address  x.x.x.x
  User-Agent (Browser/OS) Apple Safari 14.0.3 / OS X  
  Referrer    http://www.example.com  
  
  First Name  john    
  Last name   Smith
  Phone   555-555-4444
  Email   john@gmail.com
  Date of Birth   03/02/1955
  Preferred Method of Contact Text Message    
  Desired Appointment Date    05/22
  Desired Appointment Time    9am 
  City    Pittsburgh  
  Location    State
  IP Address  x.x.x.x
  User-Agent (Browser/OS) Apple Safari 14.0.3 / OS X  
  Referrer    http://www.example.com 
  
  .... and so on
  </code></pre>
  <p>I need to extract each entry to a csv file, so the data should look like: first name, last name, phone, email, etc. I don't even know where to start on something like this.</p>