Similar to this thread: http://www.mrexcel.com/forum/excel-...-url-except-root-domain-domain-extension.html
I'm looking for a formula within Excel to remove all characters before the domain. Below are a couple of examples as the list will be ever-growing, and will also be paired up with another column to match specific strings of data.
[TABLE="class: grid, width: 300, align: left"]
<tbody>[TR]
[TD]Example URL String[/TD]
[TD]Result[/TD]
[/TR]
[TR]
[TD]https://www.example.com[/TD]
[TD]example.com[/TD]
[/TR]
[TR]
[TD]https://example.uk/[/TD]
[TD]example.uk/[/TD]
[/TR]
[TR]
[TD]http://www.example.com/sub123[/TD]
[TD]example.com/sub123[/TD]
[/TR]
[TR]
[TD]http://example.com/sub123/example/[/TD]
[TD]example.com/sub123/example/[/TD]
[/TR]
</tbody>[/TABLE]
Ultimately I'm looking to address the different variations of https & http, as well as www and non-www. Plus any variation of country codes, with or without an ending forward slash that doesn't get removed if it is present.
Any help would be greatly appreciated!
I'm looking for a formula within Excel to remove all characters before the domain. Below are a couple of examples as the list will be ever-growing, and will also be paired up with another column to match specific strings of data.
[TABLE="class: grid, width: 300, align: left"]
<tbody>[TR]
[TD]Example URL String[/TD]
[TD]Result[/TD]
[/TR]
[TR]
[TD]https://www.example.com[/TD]
[TD]example.com[/TD]
[/TR]
[TR]
[TD]https://example.uk/[/TD]
[TD]example.uk/[/TD]
[/TR]
[TR]
[TD]http://www.example.com/sub123[/TD]
[TD]example.com/sub123[/TD]
[/TR]
[TR]
[TD]http://example.com/sub123/example/[/TD]
[TD]example.com/sub123/example/[/TD]
[/TR]
</tbody>[/TABLE]
Ultimately I'm looking to address the different variations of https & http, as well as www and non-www. Plus any variation of country codes, with or without an ending forward slash that doesn't get removed if it is present.
Any help would be greatly appreciated!