How to Keep Replacement Text Case-Sensitive in Word
Question details
The user wants to replace text while retaining the exact capitalization typed in the replacement field, preventing Word from automatically inheriting the case of the original word.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- Using the Find and Replace tool to substitute specific abbreviations or words, such as replacing "HX" with "heat exchanger", where the case must remain exactly as typed.
- Observed behavior
- Word automatically changes the replacement text to uppercase or matches the capitalization of the original text instead of using the exact case typed in the 'Replace with' field.
Before beginning, verify the exact capitalization you need for your replacement text, and make a note of any case variations of the original text you might also need to find.
Enable the Match Case Option in Find and Replace
Using the 'Match case' setting forces Word to insert your replacement text exactly as you typed it, overriding Word's default behavior of matching the original text's case.
By default, Word's Find and Replace feature attempts to be helpful by matching the capitalization of the word being replaced. If you replace an all-uppercase word, Word makes the replacement text all-uppercase as well. Enabling 'Match case' tells Word to strictly follow your explicit capitalization.
Press 'Ctrl + H' on your keyboard, or go to the 'Home' tab on the ribbon and click 'Replace' in the Editing group.
In the Find and Replace dialog box, click the 'More >>' button in the bottom left corner to reveal advanced search settings.
Check the box next to 'Match case' under the Search Options section.
Type your original term in the 'Find what' box and your case-sensitive replacement in the 'Replace with' box, then click 'Replace' or 'Replace All'.

Easily Manage Text Replacements with WPS Writer
WPS Office provides a highly capable Find and Replace tool similar to Microsoft Word. You can effortlessly perform case-sensitive text replacements, control document formatting, and execute advanced searches all for free.
- 1. Open your document: Launch WPS Writer and open the document you wish to edit.
- 2. Launch Find and Replace: Press 'Ctrl + H' or navigate to the Home tab and click the 'Replace' icon.
- 3. Access advanced options: Click the 'Options' button at the bottom of the dialog box to expand your search parameters.
- 4. Apply Match case: Tick the 'Match case' checkbox, enter your specific text in the search and replace fields, and click 'Replace All'.

Frequently Asked Questions
Why does Word automatically capitalize my replacement text?
By default, Microsoft Word employs an adaptive replacement feature that tries to match the capitalization of the text it is replacing. If it replaces an uppercase word, it capitalizes the replacement. Checking 'Match case' disables this adaptive behavior.
Can I replace multiple case variations at the same time?
When 'Match case' is enabled, you cannot replace variations simultaneously. Because the search becomes strictly case-sensitive, you must run a separate Find and Replace operation for every specific capitalization variant (e.g., one for 'HX', one for 'Hx', and one for 'hx').
Does the Match case setting affect font formatting?
No, the 'Match case' option only controls the capitalization (uppercase and lowercase letters) of the text. If you need to change formatting such as bold, italics, or font color, you must use the 'Format' button at the bottom of the expanded Find and Replace dialog.
How do I turn off Match case for my next search?
Word remembers your last search settings. To turn it off, simply press 'Ctrl + H' to open the dialog, click 'More >>' if options are hidden, and uncheck the 'Match case' box before running your next search.




