Document Editing Problems

Find and Replace One or Two Digits in Parentheses in Microsoft Word

Nimra MalikNimra Malik Nov 14, 2026 868 views

Question details

Find numbers containing one or two digits when they are enclosed in parentheses in Microsoft Word.

Find and Replace One or Two Digits 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).
Before you start

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.

Solution 1Recommended

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.

1
Open Find and Replace

In Word, open the Home tab and select Replace.

2
Enable wildcards

Select More in the Find and Replace dialog, then check Use wildcards.

3
Enter the pattern

In the Find what box, enter \([0-9]{1,2}\).

4
Find or replace matches

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.

Use a wildcard pattern to find parenthesized numbers in Word
What the pattern matches: The pattern matches (1) and (25), but not (123). The entire match, including both parentheses, is replaced.
Free Microsoft Office alternative

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.

Use Find and Replace in WPS Writer for straightforward text edits.Open and edit Microsoft Word DOC and DOCX files.Work in a familiar document-editing interface that makes migration easier.Use a free, lightweight office suite.
microsoft office alternative - wps office

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.