Como remover o link HTTPS do JavaScript

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