Usuń numer portu z węzłów URL JS

url.replace(/:\d+/, ""); // Replaces : with any digits after it from URL
I_Like_Cats__