I'm hoping to figure out a simple search and replace in Notepad++ to slightly obfuscate text by littering it with random letters and numbers every second ("other") character, and then be able to reverse that again with another macro.
So:
banana
would become:
bma0ndaNn4aR
(b?a?n?a?n?a?)
...And then be able to undo this again by removing every other character with a backspace.
...
I found this method so far:
(?<=.)(?!$)
How to insert spaces between characters using Regex?
But as best I understand, this is not actually capturing anything so I can't use this to replace with expressions I've found for printing random letters and numbers, such as:
^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])$
I'm sure a tweak to that would work and then I could reverse it all by replacing the same search with \b
.