title: How do I remove a substring from text based on a partial match in Python?
body: <p>I have a long block of text that contains a subtext that I want to remove based on a partial match (90%). </p>
  
  <pre><code>string = "Adam is a boy who lives in Michigan.  
          He loves to eat apples and oranges. 
          He also enjoys playing with his dog and cat. 
          Adam is a happy boy."
  
  substring = "He loves to apple oranges"
  </code></pre>
  
  <p>And I want to return</p>
  
  <pre><code>"Adam is a boy who lives in Michigan.  
   He also enjoys playing with his dog and cat. 
   Adam is a happy boy."
  </code></pre>
  
  <p>The words "eat" and "and" don't appear in the substring, but I want to remove the whole sentence "He loves to eat apples and oranges." I'm not really sure how to do this. Thanks!</p>