title: Remove "http://" and "https://" from a string
body: <p>am new to ruby
  using regular expression .how can i remove <code>https</code> and <code>http</code> and <code>www</code> from a string</p>
  
  <pre><code>server= http://france24.miles.com
  server= https://seloger.com
  </code></pre>
  
  <p>from these sites i want to remove all <code>http ,https and www</code></p>
  
  <pre><code>france24.miles.com
  seloger.com
  </code></pre>
  
  <p>i used following code but it is not woking for me</p>
  
  <pre><code>server = server.(/^https?\:\/\/(www.)?/,'')
  </code></pre>