Are you sure you don't want to replace whitespace with tabs so that the resulting text looks the same on a device that supports tabs?
This would require a little more calculation than just replacing every single whitespace character with a single tab character, but is certainly something that folks here could help with.
Also, you should realize that \s matches newlines. This may not be what you intended.
-- Eric Hammond
In reply to Re: whitespaces replace with tabs - help needed...
by esh
in thread whitespaces replace with tabs - help needed...
by star7
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |