Comment filtrer tous les caractères spéciaux dans CakePHP à partir d'un tableau

cleaned = preg_replace("/[^{$allow}a-zA-Z0-9]/", '', $string);
Faithful Ferret