title: How to remove text between two specific words in a dataframe column by python
body: <p>I have text in a column I am cleaning, I need to remove all words between the words &quot;Original&quot; and &quot;Subject&quot; wherever they appear in the column which is only some of the rows.</p>
  <p>I am currently trying</p>
  <pre><code>   a = df['textcol']
     import re
     df['textcol'] =re.sub('Original.*?Subject','',str(a), flags=re.DOTALL)
  </code></pre>
  <p>this function is making every string within every tow the exact same as the first row it instead of looking at each row individually and altering it</p>