title: Replacing parts of strings in a list in Python
body: <p>I know similar questions exist for this topic but I've gone through them and still couldn't get it.</p>
  
  <p>My python program retrieves a subsection of html from a page using a regular expression. I just realised that I hadn't accounted for html special characters getting in the way.</p>
  
  <p>say I have:</p>
  
  <p><code>regex_title = ['I went to the store', 'Itlt&amp;#039;s a nice day today', 'I went home for a rest']</code></p>
  
  <p>I obviously want to change <code>lt&amp;#039;</code> to a single quote '.</p>
  
  <p>I've tried variations of:</p>
  
  <pre><code>for each in regex_title:
      if 'lt&amp;#039;' in regex_title:
          str.replace("lt&amp;#039;", "'")
  </code></pre>
  
  <p>but had no success. What am I missing.</p>
  
  <p>NOTE: The purpose is to do this without importing any more modules. </p>