logo
search
Document Editing Problems

How to Add Text Before Superscript Numbers Using Wildcards in Word

Bushra ParveenBushra Parveen Oct 23, 2026 869 views

Question details

The user needs to prepend a chapter prefix and a period to existing superscript numbers (e.g., changing 1 to 1.1) in a Word document without deleting the original numbers.

How to Use Wildcards to Add Text Before Superscript Numbers in Word
Product
Word
Device & OS
not provided
Scenario
Batch editing document formatting to update numbering styles or add chapter prefixes to existing superscript citations or notes.
Observed behavior
Superscript numbers currently lack chapter prefixes, and the user wants to efficiently append prefixes like '1.' to all of them using Find and Replace.
Before you start

It is highly recommended to save a backup copy of your document before performing bulk wildcard replacements so you can easily revert changes if the formatting does not apply as expected.

Solution 1Recommended

Use Wildcard Find and Replace to Add Prefixes

Utilize Word's advanced Find and Replace feature with wildcards to target single or multi-digit superscript numbers and insert a prefix before them.

Wildcards allow you to perform highly specific search operations in Word. By combining a numeric search pattern with formatting filters, you can isolate your superscript numbers. The special replacement code ensures the original number is safely retained.

1
Open Find and Replace

Press Ctrl + H on your keyboard to open the Find and Replace dialog box in your document.

2
Enable Wildcards

Click the 'More >>' button to expand the advanced search options, then check the box for 'Use wildcards'.

3
Set Find Criteria

In the 'Find what' box, type `<[0-9]@>`. This wildcard code tells the program to look for any whole numbers, including single and multi-digit values.

4
Filter by Superscript

To ensure you only change superscript numbers and not regular text, click inside the 'Find what' box, click the 'Format' button at the bottom left, select 'Font', check the 'Superscript' option, and click 'OK'.

5
Set Replace Criteria

In the 'Replace with' box, type `1.^&` (replace '1.' with your actual desired chapter prefix). The `^&` symbol ensures that the original number found is retained and placed immediately after your prefix.

6
Execute Replacement

Click 'Replace All' to apply the prefix to all superscript numbers throughout your document.

Use Wildcard Find and Replace to Add Prefixes
Understanding the Replacement Code: The `^&` symbol represents the exact text that was found in the 'Find what' box. This is the crucial element that allows you to add text before or after existing content without erasing it.

Batch Edit Document Formatting Easily with WPS Writer

WPS Writer offers a powerful and intuitive Find and Replace tool that fully supports wildcards, making complex document formatting tasks like adding prefixes quick and straightforward.

  1. 1. Open your Document: Launch WPS Writer and open your .docx file containing the superscript numbers.
  2. 2. Access Find and Replace: Press Ctrl + H to open the Find and Replace dialog, click 'Options', and check 'Use wildcards'.
  3. 3. Enter Search Parameters: Input `<[0-9]@>` in the Find box. Click 'Format' -> 'Font' to apply the Superscript filter to your search.
  4. 4. Set Replacement text: Input your desired prefix followed by `^&` in the Replace box, then click 'Replace All' to instantly update your text.
Fully compatible with Microsoft Word (.docx) formats, ensuring your superscript formatting remains perfectly intact.Advanced Find and Replace tool with full wildcard support for complex edits and numbering updates.Free, lightweight software with a familiar interface that runs smoothly on Windows, Mac, and Linux.
microsoft office alternative - wps office

Frequently Asked Questions

What does the `<[0-9]@>` code mean in Word wildcards?

This wildcard combination searches for whole numbers. The `[0-9]` targets any digit from 0 to 9, the `@` symbol specifies one or more occurrences of the preceding character (allowing it to find multi-digit numbers like 10 or 15), and the `<` and `>` brackets denote the beginning and end of a standalone word.

Why did my Find and Replace change regular text numbers instead of just the superscripts?

If you do not apply specific font formatting to the 'Find what' field, the tool will replace all matching numbers in the text. To isolate superscripts, you must click inside the 'Find what' box, navigate to Format > Font, check the Superscript box, and hit OK before executing the replacement.

How can I add a suffix instead of a prefix using wildcards?

To add text after the found number instead of before it, simply place the `^&` code before your desired text in the 'Replace with' box. For example, to add a period and the number 1 after the found text, type `^&.1` into the replace field.