Document Editing Problems

How to Add Spaces After Periods Using Find and Replace in Word

Natalie TaylorNatalie Taylor Oct 29, 2026 871 views

Question details

The user needs to insert a space after periods across a document without removing the first character of the following sentence.

How to Add Spaces After Periods Using Find and Replace in Word
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.
Before you start

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.

Solution 1Recommended

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.

1
Open Find and Replace

Press Ctrl + H on your keyboard to open the Find and Replace dialog box.

2
Enable Wildcards

Click the 'More >>' button in the lower-left corner to expand the search options, then check the box next to 'Use wildcards'.

3
Enter the Search Expression

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.

4
Enter the Replacement Expression

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.

5
Execute the Replacement

Click 'Replace All' to automatically fix the spacing throughout your document.

Use Wildcards with Capturing Groups
Handling Question Marks: To fix missing spaces after question marks, you must escape the question mark because it is normally a wildcard character. Enter `\?([! ])` in the 'Find what' box and `? \1` in the 'Replace with' box.
Document Editing

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. 1. Open Document: Launch WPS Writer and open your document containing the spacing errors.
  2. 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. 3. Apply Wildcard Replacement: Enter `.([! ])` in 'Find what' and `. \1` in 'Replace with', then click 'Replace All' to add the spaces.
Advanced Find and Replace with full wildcard and regular expression support.Fully compatible with Microsoft Word formats (.docx, .doc).Free and lightweight office suite with an intuitive tabbed interface.Built-in spell check and formatting tools to quickly perfect your documents.
microsoft office alternative - wps office

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.