>> name = 'http://super.com/' => "http://super.com/" >> name.gsub!(/\W/, '') => "httpsupercom" >> name.gsub!(/^http(s)?/i, '') => "upercom"