Grazie Ghiaccio84,
ho risolto aggiungendo \r ma come comando ho usato sempre ereg_replace.
Grazie ancora,
a presto.