H
Herb Tyson [MVP]
Ctrl+H.
Find what:<space><space>
Replace with:<space>
Replace all.
Note: <space> indicates that you should press the Space bar.
This presumes that two consecutive spaces are NEVER wanted. For documents I
edit, this is always the case. I routinely do this find/replace when I open
documents I'm asked to edit. (If a client wants two spaces after sentence
terminators, I talk them out of it. When using proportional spacing, a
single space is the industry standard.)
It is possible to design a search to remove spaces only between words,
though.
With Use wildcards enabled:
Find what[A-Z,a-z])( )([A-Z,a-z])
Replace with:\1 \3
Note that there are two spaces in the ( ) in Find what, and one space
between \1 and \3 in the Replace with.
Find what:<space><space>
Replace with:<space>
Replace all.
Note: <space> indicates that you should press the Space bar.
This presumes that two consecutive spaces are NEVER wanted. For documents I
edit, this is always the case. I routinely do this find/replace when I open
documents I'm asked to edit. (If a client wants two spaces after sentence
terminators, I talk them out of it. When using proportional spacing, a
single space is the industry standard.)
It is possible to design a search to remove spaces only between words,
though.
With Use wildcards enabled:
Find what[A-Z,a-z])( )([A-Z,a-z])
Replace with:\1 \3
Note that there are two spaces in the ( ) in Find what, and one space
between \1 and \3 in the Replace with.