Exemple d’utilisation de ‘ereg_replace( )’ October 14, 2012 Author: user {filelink=13376} <?php $$texte = 'Voici mon email test@mesexemples.com'; // Remplacer l''email echo ereg_replace ('([[:alpha:]]+)@([[:alpha:]]+).([[:alpha:]]{2,4})', 'moi@mesexemples.com', $$texte) ?> Categories: Uncategorized