-- rada -- wrote: > supposedly converts Windows CRLF to Unix LF: > $str =~ s/\r\n/\n/g; That's not any PHP that I have ever seen (especially if you didn't mistakenly leave out the quotes). You might be looking at a bit of Perl code there. -- Scott Mattocks Author: Pro PHP-GTK http://www.crisscott.com