title: Remove full url's from text file using unix awk/sed/grep
body: <p>I have a text file that in the form of tweets and I am having issues removing the full url's. An example of the textfile:</p>
  
  <p><code>index.html</code>:</p>
  
  <pre><code>this is a tweet that has info. http://google.com
  this is a tweet that has an image. pic.twitter.com/a2y4H1b2Jq
  </code></pre>
  
  <p>I would like to create a new file that only has:</p>
  
  <pre><code>this is a tweet that has info.
  this is a tweet that has an image.
  </code></pre>
  
  <p>Right now I am working with grep and I have </p>
  
  <pre><code>grep -oP "http://\K[^']+" final.txt
  </code></pre>
  
  <p>Thanks!</p>