Not versed in regex, hopefully someone can help me out.
How can I return only the domain from a string like
So it only returns “temp.temp.com” or “temp.com”. Essentially removing
the shortname of the host even if there is a range within the shortname.
I may have additional periods to identify subdomains but there will
never be a period inside a the shortname of the host.