I have the following situation, the text below it has the following words ATENÇÃO:
and será
which in turn they are accented, they must be removed from the text but due to the accents I can not remove.
$string = "ATENÇÃO: O produto será revisado e constatado o defeito será";
$remover = array ("ATENÇÃO:","será");
echo $texto = str_replace("$remover","",$string);
Expected result.
Product reviewed and found defect