Answered
Simplest way to say search all spaces, except hair space
I know I could list out all the space options separated by "|" but I want to be able to say \s but not ~|
How do I say this simply in GREP? Is there a way to Escape something like this?
Here is my full GREP find:
(?<!~<)( ?)(~_|~=|~-|~~)( ?)(?!~<)
Change to:
~|$2 ~|
But I want to change the ( ?) to (\s?) with this escape. What is the easiest way to do this?