Cómo eliminar el enlace HTTPS de JavaScript

result = url.replace(/(^\w+:|^)\/\//, '');
Angry Addax