skip to Main Content
author
85 views
0 votes

Php – How do i get the string after the first dot in a domain name example how do I get com in a .com domain or co.uk in a .co.uk domain

I am want to know how a regular expression to get the com or co.uk in a domain name
$domain

Back To Top
Search