Making groups in GREP
I want to write a GREP code to do this:
Between the words X and Y, find one thinspace or more OR find two spaces or more.
I've written this command:
(\bX\b)[~<]{1,}]|[ ]{2,}(\bY\b)although it logically is what I want, however it does not work. It seems the | can't tell the correct part of commands it must apply to. I personally think there should be something like parathesis to group my Grep code.
