I have the following chains I need to extract only the countries
Roaming atv te da la bienvenida a Peru.Llamadas
Roaming atv te da la bienvenida a Reino Unido.Llamada
Roaming atv te da la bienvenida a Espana.Llamada
Roaming atv te da la bienvenida a Guadeloupe.Llamada
N Sometimes countries can repeat the same countries
I tried to try the following code:
$nombre = "Roaming atv te da la bienvenida a Peru.Llamadas";
$arrayNombre = explode(" ", $nombre, 7);
print_r($arrayNombre[6]);
The result is the following:
to Peru.Calls
I need to take the country out of that chain