Je dois supprimer le prochain mot de la chaîne de recherche.. j'ai un tableau de recherche comme array('aa','bb','é');
C'est mon paragraphe 'Bonjour, ceci est un paragraphe de test aa 123 test bb 456'.
Dans ce paragraphe je dois supprimer 123 et 456.
$pattern = "/\bé\b/i";
$check_string = preg_match($pattern,'Bonjour, ceci est un paragraphe de test aa 123 test é 456');
Comment obtenir le mot suivant?? S'il vous plaît aidez.