How can i return just the TLD of a domain name
for example, if i had the following:
www.domain.co.uk i want to return just the .co.uk
and the same for domain.co.uk
and the same for all other TLDs (.com, .co, .org etc)
Is there an easy way to do this in PHP without using Regex
I was thinking of using explode but im not too familiar with that