$str = str_replace('\r',$str) $str = str_replace('\n',$str) Justin French
on 21/08/02 1:00 AM, Erich Kolb ([EMAIL PROTECTED]) wrote: > How can I remove all \n and \r from a txt file? > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php