I have a list of domains, hosts, and URLs. I would like to use either Notepad++'s extended or regex search to go through my list and give me just the domain. My list looks like:
fonts.googleapis.com
fonts.gstatic.com
http://s3.amazonaws.com/
*.adnxs.com
*.On24.com
ssl.gstatic.com
http://www.pinterest.com
What I'd like to end up with is a list of just the domain names such as:
googleapis.com
gstatic.com
Could someone provide a regex that would allow me to take a URL/FQDN and end up with just the domain?