How to Replace Every Word with the Same Word in Microsoft Word
Question details
The user wants to replace every single word in a Word document with one specific repeated word, while maintaining the original capitalization of each word.
- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- Modifying entire document text for layout testing or specific formatting needs by converting all sentences into repeated instances of a chosen word.
- Observed behavior
- The goal is to overwrite all existing words with a new constant word, ensuring that words originally starting with uppercase retain an uppercase first letter, and lowercase words remain lowercase.
Always create a backup copy of your document before performing bulk wildcard replacements or running macros, as these operations can permanently alter your text formatting and layout.
Use Wildcard Find and Replace to Swap Words
This native feature allows you to use specific wildcard codes to identify uppercase and lowercase words separately and replace them accordingly.
By utilizing Word's advanced Find and Replace wildcards, you can accurately target words based on their initial capitalization pattern.
Press Ctrl + H on your keyboard to open the Find and Replace dialog box.
Click on the 'More' button to expand search options, and check the 'Use wildcards' box.
To replace all lowercase words, type <[a-z]*> in the 'Find what' box, and type your desired lowercase word (e.g., 'sun') in the 'Replace with' box, then click 'Replace All'.
To replace words starting with a capital letter, type <[A-Z]*> in the 'Find what' box, and your capitalized word (e.g., 'Sun') in the 'Replace with' box, then click 'Replace All'.
Automate the Process with a VBA Macro
A VBA macro can quickly loop through all words in the document and replace them while dynamically checking and preserving the original capitalization.
Use WPS Office to Edit and Format Documents Efficiently
WPS Office provides a robust Find and Replace tool with full wildcard support, allowing you to perform advanced text modifications seamlessly just like in Microsoft Word.
- 1. Open your Document: Open your target document in WPS Writer.
- 2. Launch Find and Replace: Press Ctrl + H to launch the Find and Replace tool.
- 3. Enable Wildcards: Click 'Options' and check 'Use wildcards' to enable advanced pattern matching.
- 4. Execute Replacement: Input your wildcard criteria such as <[a-z]*> and replacement text, then hit 'Replace All'.

Frequently Asked Questions
Can I revert the changes if I make a mistake during a Replace All?
Yes, you can immediately press Ctrl+Z to undo the Find and Replace operation. However, if you have already saved and closed the document, you cannot revert unless you have a backup copy.
How do I replace words without affecting the document's font formatting?
In the Find and Replace dialog, ensure that the 'Replace with' box has 'No Formatting' applied. You can clear unintended formatting by clicking in the 'Replace with' box, selecting 'Format' at the bottom, and choosing 'Clear Formatting'.
Is there a way to replace words only in a specific paragraph?
Yes, highlight the specific paragraph before pressing Ctrl+H. When you click 'Replace All', the software will ask if you want to search the rest of the document. Click 'No' to restrict changes to your selection.




