Find and Replace One or Two Digits in Parentheses in Microsoft Word
Question details
Find numbers containing one or two digits when they are enclosed in parentheses in Microsoft Word.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- The user wants to search a document for parenthesized numbers and optionally replace them.
- Observed behavior
- The desired search should match values such as (1) and (25), but not (123).
Open the document in Microsoft Word and decide what text, if any, should replace each match. The wildcard search matches the parentheses as well as the digits.
Use a wildcard pattern to find parenthesized numbers in Word
Use Word's wildcard search to find values containing exactly one or two digits inside parentheses.
The escaped parentheses match literal parentheses, while [0-9]{1,2} matches one or two digits.
In Word, open the Home tab and select Replace.
Select More in the Find and Replace dialog, then check Use wildcards.
In the Find what box, enter \([0-9]{1,2}\).
Select Find Next to review each match. To replace a match, enter the desired text in Replace with and select Replace; use Replace All only if the same replacement is appropriate for every match.

Edit Word Documents with WPS Writer
WPS Office is a free, lightweight alternative with a familiar interface for opening and editing Word documents. Its format support helps you move existing files into WPS Writer, though it does not fix or guarantee support for Microsoft Word's wildcard syntax.

Frequently Asked Questions
Where do I turn on wildcard searches in Word?
Open Home > Replace, select More, and check Use wildcards in the Find and Replace dialog.
Why are there backslashes before the parentheses?
In the Find what pattern, \( and \) tell Word to match literal opening and closing parentheses rather than treat them as wildcard grouping characters.
Will this search find three-digit numbers in parentheses?
No. The pattern \([0-9]{1,2}\) requires one or two digits between the parentheses, so it will not match (123).
Can I replace each number with different text?
Yes. Use Find Next to review each match, change the Replace with text as needed, and select Replace for each one. Replace All applies the same replacement to every match.




