#1
|
|||
|
|||
Replace Two Spaces with One Space
I am trying to replace all the occurrences of two spaces between a period and the start of the next sentence into one space. I looked around and in theory, in the Find and Replace dialog and using the "Find What" field, enter a space and then {2,}
Then I want to put one space in the field of what to replace this with. Somehow I haven't gotten this correct because the find command does nothing. How can I accomplish this? Thanks. |
#2
|
|||
|
|||
You have to enable "Use Wildcards" for the {2} to work.
Although you may simply want to type two spaces in the Find box, and one space in the Replace box. That usually works for me. |
#3
|
||||
|
||||
You can do this with a wildcard Find/Replace, where:
Find = .{2,} Replace = .^32
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
Tags |
replace, spaces |
Thread Tools | |
Display Modes | |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to find and replace random empty spaces in beginning of lines? | Pauliina | Word | 4 | 05-24-2018 10:01 PM |
Macro to find and replace specific types of spaces | dita | Word VBA | 7 | 05-06-2018 12:47 AM |
Find and Replace/Insert 'CR', delete leading Spaces wherever a user Clicks in a Word document | DavidL | Word VBA | 7 | 04-04-2018 12:01 AM |
Find and Replace with space | cheech1981 | Word | 3 | 03-29-2017 02:33 PM |
Find and replace mutiple spaces between lowercase words only | Dave T | Word VBA | 2 | 07-16-2015 11:23 PM |