How to Add Spaces After Periods Using Find and Replace in Word
Question details
The user needs to insert a space after periods across a document without removing the first character of the following sentence.

- Product
- Word
- Device & OS
- not provided
- Scenario
- Fixing a document where sentences run together without spaces after punctuation marks.
- Observed behavior
- A standard wildcard Find and Replace operation deletes the first character of the next sentence instead of preserving it.
Enable the display of hidden formatting marks by clicking the Show/Hide ¶ button on the Home tab (or pressing Ctrl+Shift+8) so you can visually verify the space dots between your sentences before and after running the replacement.
Use Wildcards with Capturing Groups
The most effective way to add missing spaces after periods is to use wildcard capturing groups, which instruct Word to preserve the text that immediately follows the punctuation.
In Word's wildcard search, parentheses are used to group characters so they can be referenced in the replacement text. By finding a period followed by a letter, and replacing it with a period, a space, and the exact same letter, you prevent any text loss.
Press Ctrl + H on your keyboard to open the Find and Replace dialog box.
Click the 'More >>' button in the lower-left corner to expand the search options, then check the box next to 'Use wildcards'.
In the 'Find what' box, type `.([! ])` exactly as shown. This tells Word to find a period followed by any character that is NOT a space, grouping that next character.
In the 'Replace with' box, type `. \1` (a period, a single space, and \1). The \1 is a backreference that restores the letter captured in the parentheses.
Click 'Replace All' to automatically fix the spacing throughout your document.

Edit and Format Documents Easily with WPS Writer
WPS Writer offers a powerful Find and Replace tool with full wildcard support, making it simple to batch-correct spacing and punctuation errors. It provides a seamless, highly compatible alternative for Word users.
- 1. Open Document: Launch WPS Writer and open your document containing the spacing errors.
- 2. Access Advanced Find and Replace: Press Ctrl + H to open the Replace dialog box, then click 'Advanced' and check the 'Use wildcards' option.
- 3. Apply Wildcard Replacement: Enter `.([! ])` in 'Find what' and `. \1` in 'Replace with', then click 'Replace All' to add the spaces.

Frequently Asked Questions
Why does standard Find and Replace delete my next letter?
When you search for a period followed by a wildcard letter and replace it with just a period and a space, the word processor overwrites that found letter. Using capturing groups `()` and a backreference `\1` tells the program to put that specific letter back into the text.
Can I use this method to add two spaces after a period?
Yes. In the 'Replace with' box, simply type a period, press the spacebar twice, and then type `\1` (e.g., `. \1`). This will ensure double spacing correctly follows every matched period.
How do I fix missing spaces after commas?
You can use the exact same wildcard logic but replace the period with a comma. Type `,([! ])` in the 'Find what' box and `, \1` in the 'Replace with' box to add spaces after commas.




