How to Separate Words Joined Together in a Word Document
Question details
The user needs a practical solution to separate words that have been randomly joined together in a long plain-text document.

- Product
- Word
- Device & OS
- not provided
- Scenario
- Fixing a long plain-text document where spaces between words are missing, creating combined phrases like 'ofIndonesian' and 'providedthrough'.
- Observed behavior
- Words are joined together without spaces randomly throughout the text, typically caused by line breaks or paragraph breaks being stripped during plain text conversion.
Before applying manual formatting fixes, check if you still have access to the original source file. Re-converting the document with proper spacing and line-break settings is often the fastest way to fix the issue.
Use Wildcards in Find and Replace for Capitalized Words
This method is highly effective for separating words where the second word begins with a capital letter (e.g., 'ofIndonesian').
By utilizing the wildcard feature in the Find and Replace tool, you can automatically detect instances where a lowercase letter is immediately followed by an uppercase letter and insert a space between them.
Press the shortcut 'Ctrl + H' on your keyboard to open the Find and Replace dialog box.
Click on the 'More' button to expand the search options, then check the box next to 'Use wildcards'.
In the 'Find what' box, type '([a-z])([A-Z])' (without quotes). This targets any lowercase letter followed by an uppercase letter.
In the 'Replace with' box, type '\1 \2' (without quotes, ensuring there is a space between the 1 and the \). This adds a space between the two detected letters.
Click 'Replace All' to automatically separate all matching joined words in the document.

Utilize the Spelling and Grammar Checker
Use the built-in spell checker to fix entirely lowercase joined words like 'providedthrough' that wildcards cannot easily separate.
Re-save the Original Source Document Properly
Prevent the issue entirely by correctly saving the original document into plain text with line breaks preserved.
Easily Fix Word Spacing and Formatting with WPS Writer
WPS Writer offers a powerful Find and Replace feature with advanced wildcard support, as well as an intelligent Spell Check system, making it incredibly easy to fix joined words and broken spacing in any document.
- 1. Open Your Document: Launch WPS Writer and open the document containing the joined words.
- 2. Use Advanced Find and Replace: Press Ctrl+H to open the Find and Replace dialog, click 'Special' to enable wildcards, and input your separation rules.
- 3. Run WPS Spell Check: Navigate to the 'Review' tab and click 'Spell Check' to catch and automatically split remaining lowercase joined words.

Frequently Asked Questions
Why do words get joined together when saving as plain text?
This happens when line breaks, paragraph marks, or other formatting characters are removed during conversion. If the conversion process doesn't replace these characters with a space, the last word of one line and the first word of the next line will merge.
Can I use autocorrect to separate commonly joined words?
Yes. If the same specific words are joined repeatedly throughout your work (e.g., 'andthe'), you can add them to AutoCorrect via File > Options > Proofing > AutoCorrect Options to automatically replace the joined version with separated words as you type or run formatting checks.
Will Find and Replace wildcards work for completely lowercase joined words?
Wildcards rely on discernible patterns. While they easily separate words joined at a capital letter (using the uppercase/lowercase pattern), two lowercase words joined together lack a structural pattern for wildcards to recognize. For those, a spell checker is the most practical automated tool.




