I looked at the ACTIONS shared by some users and I think one of them may(??) do what I want but the way the solution was presented makes no sense to me as to how to implement it.
Anyway, here's what I would like to do:
Replace all occurrences of two or more contiguous spaces with only one.
Given the following: MADONNA-^MATERIAL GIRL (where ^ is my representation of a blank space), change it to MADONNA^-^MATERIAL GIRL
Conversely, given the following: MADONNA^-MATERIAL GIRL (where ^ is my representation of a blank space), change it to MADONNA^-^MATERIAL GIRL
For requests 2 & 3 above, the end result is to always have the dash character with one leading and one trailing blank space
Can someone help this novice out with very specific instructions on how to do it?
Your first expression worked great, the second did not.
I guess that what I'm looking for is for a way to place only one leading and only one trailing space when a dash is found no matter how many spaces or lack of spaces there are around that dash character.