I am wondering if there is a parser or library in java for extracting the second level domain (SLD) in an URL - or failing that an algo or regex for doing the same. For exam
After reeading everything here, the correct solution should be (with guava)
InternetDomainName.from(uriHost).topPrivateDomain().toString();
errors when using Guava to get the private domain name