Cleaning up repeated whitespaces and newlines

mobiledreamers at gmail.com mobiledreamers at gmail.com
Tue May 1 17:32:29 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20070501/e7604d63/attachment.html>


More information about the Python-list mailing list