Removing the continous newline characters from the pythong string

mobil mobiledreamers at gmail.com
Tue May 1 17:30:12 EDT 2007


Hi guys i m trying out newline characters and to clean them up
a\n\n\n\n\n\n\n\n\nsss\n\n\n\n\n\n\n\n\n\n\nvvvv\n\n\n\nvsa\n\n\n\nasf
\n\nafs

hello guys

im trying to replace
\n\n\n\n\n\n\n\n\n with \n

thanks for help

\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n also with \n as the browser gives
\r carrriage returns

thanks for any help or pointers




More information about the Python-list mailing list