title: Python splitting string to find specific content
body: <p>I am trying to split a string in python to extract a particular part. I am able to get the part of the string before the symbol <code>&lt;</code> but how do i get the bit after? e.g. the <code>emailaddress</code> part?</p>
  
  <pre><code> &gt;&gt;&gt; s = 'texttexttextblahblah &lt;emailaddress&gt;'
   &gt;&gt;&gt; s = s[:s.find('&lt;')]
   &gt;&gt;&gt; print s
  </code></pre>
  
  <p>This above code gives the output <code>texttexttextblahblah </code></p>