title: python how to remove http from a string using replace
body: <p>I would like to remove "http://" in a string that contains a web URL i.e: "<a href="http://www.google.com" rel="noreferrer">http://www.google.com</a>". My code is:</p>
  
  <pre><code>import os
  s = 'http://www.google.com'
  s.replace("http://","")
  print s
  </code></pre>
  
  <p>I try to replace http:// with a space but somehow it still prints out <a href="http://www.google.com" rel="noreferrer">http://www.google.com</a></p>
  
  <p>Am i using replace incorrectly here? Thanks for your answer.</p>