Search and replace: not printable/special characters

I have a question. Does anybody know of a way to search for, for example, three consecutive spaces and replace them with a tab? Or, if you want to be more general and cover more ground, how can you search a string (optionally, with non-printable characters) and replace it with another string with non-printable characters?

 

Possibilities:

1.- Search for three spaces and replace them with a tab. IMPOSSIBLE???

2.- Search for a tab and replace them with a normal space. Easily done, using Regex and the input \t. Same can be done with carriage returns, etc.

I also know how to search and replace special printable characters such as nonbreaking space (ALT+255), but for nonprintable characters, I am completely at loss. But there MUST be a way!!!

Parents Reply Children
No Data