I posted earlier a question regarding XOR in perl strings that was quickly solved. Now I have another. Let's assume I have a string of the type "hello %f.2f world". I want to xor everything but any regex that seems like
. So in this case "hello" and "world" shoul be "xored" but not the rest. Is there an easy way to do this?