How to Remove Paragraph Marks Not Preceded by a Period in Word
Question details
The user needs a method to bulk remove unnecessary paragraph breaks that appear after lines not ending with a period.

- Product
- Word
- Device & OS
- not provided
- Scenario
- Fixing document formatting where lines are incorrectly broken by paragraph marks mid-sentence or without proper ending punctuation.
- Observed behavior
- Unwanted paragraph breaks disrupt the text flow by splitting sentences across different lines without a trailing full stop.
Before running a bulk Find and Replace operation, make sure to turn on formatting marks (Ctrl+*) to see where the paragraph breaks are, and remember that you can press Ctrl+Z to undo if the text layout changes unexpectedly.
Use Find and Replace with Wildcards
Utilize the advanced wildcard feature in the Find and Replace dialog to target and remove paragraph breaks that aren't preceded by a period.
By utilizing wildcard search parameters, you can instruct the word processor to specifically look for any character except a period that is immediately followed by a paragraph mark, and then seamlessly join the lines.
Press the Ctrl + H shortcut on your keyboard to launch the Find and Replace dialog box.
Click the 'More' button to expand your search options, then check the box labeled 'Use wildcards'. This allows you to use special characters for advanced searching.
In the 'Find what' input field, type: ([!.] )^13 (or simply ([!.])^13). The expression ([!.]) finds any character that is NOT a period, while ^13 represents the paragraph mark.
In the 'Replace with' input field, type: \1 followed by a single space (like this: \1 ). The \1 keeps the character found before the paragraph break, and the space prevents the last word of the first line and the first word of the next line from running together.
Click 'Replace All' to remove all matching paragraph marks. If the formatting looks incorrect, press Ctrl + Z to undo, verify your spacing in the Replace field, and try again.

Clean Up Document Formatting Effortlessly with WPS Writer
WPS Office provides a highly capable word processor (WPS Writer) that fully supports advanced Find and Replace functions, including wildcard operations. It allows you to clean up messy formatting and unwanted paragraph marks with ease while offering a familiar interface.
- 1. Open your document in WPS Writer: Launch WPS Office and open the document containing the unwanted paragraph marks.
- 2. Access Find and Replace: Navigate to the Home tab and click on Find and Replace, or simply press the Ctrl + H shortcut.
- 3. Enable Wildcards: Click the 'Options' button in the Find and Replace dialog and check the box for 'Use wildcards'.
- 4. Enter your parameters and replace: Input ([!.])^13 in the Find box and \1 (with a trailing space) in the Replace box, then hit 'Replace All' to clean up your document text.

Frequently Asked Questions
Why do my words run together after replacing the paragraph marks?
When you remove a paragraph mark, the last word of the top line and the first word of the bottom line are directly joined. To prevent this, ensure you add a single space after the \1 in your 'Replace with' field.
How can I view hidden paragraph marks in my document?
You can display hidden formatting symbols, including paragraph marks, by clicking the 'Show/Hide Editing Marks' button (which looks like a paragraph symbol ¶) on the Home tab, or by pressing Ctrl + *.
Can I remove paragraph marks that aren't preceded by other punctuation marks like commas or question marks?
Yes. You can modify the wildcard formula to exclude multiple punctuation marks. For example, using ([!.,?])^13 will find paragraph breaks that are not preceded by a period, comma, or question mark.
What does ^13 stand for in the Find and Replace box?
In wildcard searches, ^13 is the specific code used to represent a standard carriage return or paragraph mark. Using ^p does not work when the 'Use wildcards' option is checked.




