Advertisement
Guest User

Untitled

a guest
Sep 14th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.65 KB | None | 0 0
  1.         $array_string = preg_replace('/[ÃÂÁ]/', 'A', $array_string);
  2.         $array_string = preg_replace('/[ÕÔÓ]/', 'O', $array_string);
  3.         $array_string = preg_replace('/[ÉÊ]/', 'E', $array_string);
  4.         $array_string = preg_replace('/[Í]/', 'I', $array_string);
  5.         $array_string = preg_replace('/[Ú]/', 'U', $array_string);
  6.         $array_string = preg_replace('/\/G/', '', $array_string);  
  7.         $array_string = preg_replace('/\/P/', '', $array_string);                                                      
  8.         $array_string = preg_replace('/À/', 'A', $array_string);
  9.         $array_string = preg_replace('/Ç/', 'C', $array_string);
  10.         $array_string = preg_replace('/Ü/', 'U', $array_string);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement