I have a file with a number of urls in the form:
I'd like to extract the sitehost of the url and append it to the end of the line:
Any idea how to do that?
One way to do that:
You could sorten that to:
The ampersand outputs the whole matched string which includes the whole line since the regex begins and ends with