Let's say I have a string like this
let content = "https://stackoverflow.com/questions/ask";
Now I want to write a regex what will give me only the actual domain with the protocol
example: from content, I should get only "https://stackoverflow.com"