$url = explode("/", "https://xxxxxxx.com/tag/USA");
$endstr = end($url);