rendered paste body$_GET['q'] = "santé otherword $%";// does nothing$search = mb_ereg_replace("#[^\p{L}]#", " ", $_GET['q']);/*[0] => santé[1] => otherword[2] => $%*/// does nothing$search = mb_ereg_replace("#[^\w]#", " ", $_GET['q']);/*[0] => santé[1] => otherword[2] => $%*/// removes accent :/$search = preg_replace("#[^\w]#", " ", $_GET['q']);/*[0] => sant[1] =>[2] =>[3] => otherword*/// Closes to what I need: Breaks accents$search = preg_replace("#[^\p{L}]#", " ", $_GET['q']);/*[0] => sant�[1] =>[2] => otherword*/// output..$searchwords = explode(" ", $search);print_array($searchwords);