Skip navigation

Category Archives: Expressão Regular

$string = 'ÁÍÓÚÉÄÏÖÜËÀÌÒÙÈÃÕÂÎÔÛÊáíóúéäïöüëàìòùèãõâîôûêÇç';

echo preg_replace( ‘/[`^~\'”]/’, null, iconv( ‘UTF-8’, ‘ASCII//TRANSLIT’, $string ) );