title: Remove substring at the end of a string based on a list of strings to remove
body: <p>I have a list of strings</p>
  
  <pre class="lang-py prettyprint-override"><code>x=['llc', 'corp', 'sa'] 
  </code></pre>
  
  <p>I need to filter at the end of a column in my dataframe containing strings:</p>
  
  <pre class="lang-py prettyprint-override"><code>df = pd.DataFrame(['Geeks corp', 'toto', 'tete coope', 'tete sa', 'tata corp', 'titi', 'tmtm'] , columns =['Names']) 
  </code></pre>
  
  <p>as output I would like to. have:</p>
  
  <pre class="lang-py prettyprint-override"><code>list = ['Geeks', 'toto', 'tete coope', 'tete', 'tata', 'titi', 'tmtm']
  </code></pre>
  
  <p>What are your suggestions?</p>