"remove a substring "".com"" from the end of string `url`","print(url.replace('.com', ''))"