title: Remove a sentence starting with a word in R?
body: <p>I have a tweet text like this in R. </p>
  
  <pre><code>"RT @SportClipsUT125: #SavingLivesLooksGood with #RedCross. Donate this month &amp;amp; Get free haircut cpn. https://somewebsite https://somewebsite…"
  </code></pre>
  
  <p>How can I remove all the links (to remove duplicate tweets) so that the following tweet actually returns the string below?  </p>
  
  <pre><code>"RT @SportClipsUT125: #SavingLivesLooksGood with #RedCross. Donate this month &amp;amp; Get free haircut" 
  </code></pre>
  
  <p>I have tried this: </p>
  
  <pre><code>gsub('https*','',test_str)
  </code></pre>
  
  <p>but it returns </p>
  
  <pre><code>"RT @SportClipsUT125: #SavingLivesLooksGood with #RedCross. Donate this           
  month &amp;amp; Get free haircut cpn. ://somewebsite ://somewebsite…"
  </code></pre>