$.validator.
      addMethod( "remove_protocol",
        function(value, element, param) {
          var protocolRegex = new RegExp("^(http|https)://");
          if (value.match(protocolRegex)) {