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