logo
search
Formatting Issues

How to Use Find and Replace Codes in Word and Custom Formats in Excel

Huma Ashraf ChHuma Ashraf Ch Oct 9, 2026 869 views

Question details

The user needs to know how to utilize special Find and Replace codes in Word (such as paragraph marks and tabs) and how to apply custom data formats or insert special symbols in Excel.

How to Use Find and Replace Codes in Word and Custom Formats in Excel
Product
Microsoft Word and Excel
Device & OS
not provided
Scenario
Searching for specific formatting marks in text documents and applying custom numeric, text, or date formatting in spreadsheets.
Observed behavior
The user wants to successfully execute advanced document searches using special codes and format specific cell values accurately.
Before you start

Ensure you have your Word document or Excel spreadsheet open, and identify the specific text, formatting marks, or cell data you wish to modify before proceeding.

Solution 1Recommended

Use Special Find and Replace Codes in Word

Access Word's advanced Find and Replace features to search for and replace formatting marks like tabs, paragraph breaks, and wildcards.

Microsoft Word includes a powerful set of search tools that allow you to locate hidden formatting marks using special character codes. This is particularly useful for cleaning up pasted text or reformatting long documents.

1
Open Find and Replace

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

2
Expand Advanced Options

Click on the 'More' button to reveal advanced search and replace settings.

3
Select Special Codes

Click the 'Special' button at the bottom of the dialog box to select specific formatting codes, such as Paragraph Mark (^p) or Tab Character (^t).

4
Enable Wildcards (Optional)

Check the 'Use wildcards' box if you need to perform complex search queries using wildcard-specific syntax.

Use Special Find and Replace Codes in Word
Wildcard Search Adaptation: When 'Use wildcards' is checked, the available options under the 'Special' menu will change to display wildcard-specific codes, limiting some standard formatting marks.
Seamless Document Formatting

Use WPS Office for Advanced Formatting and Replacements

WPS Office provides highly compatible and intuitive tools for advanced document editing. You can easily utilize special Find and Replace codes in WPS Writer and apply custom cell formatting in WPS Spreadsheet without a steep learning curve.

  1. 1. Open WPS Office: Launch WPS Writer or WPS Spreadsheet and open your target file.
  2. 2. Use Find and Replace: In WPS Writer, press 'Ctrl + H', click 'More', and use the 'Special' button to search for paragraph marks and tabs.
  3. 3. Apply Custom Formats: In WPS Spreadsheet, select a cell, press 'Ctrl + 1', and choose 'Custom' to define your specific data format.
  4. 4. Insert Symbols: Go to the 'Insert' tab and click 'Symbol' to quickly add Unicode characters across any document type.
Fully compatible with Microsoft Word and Excel file formats (.docx, .xlsx).Supports advanced Find and Replace functionalities, including wildcards and special characters.Easy-to-use Format Cells dialog for custom date, time, and number formatting.Free, lightweight, and features a familiar tabbed user interface for seamless migration.
microsoft office alternative - wps office

Frequently Asked Questions

What is the Find and Replace code for a paragraph mark in Word?

The default code for a paragraph mark (hard return) in Microsoft Word is ^p. You can type this directly into the Find or Replace fields, or select it from the 'Special' menu in the advanced Find and Replace dialog.

Can I use wildcard searches in Excel like I do in Word?

Yes, Excel supports basic wildcards such as the asterisk (*) for multiple characters and the question mark (?) for a single character in its Find and Replace tool. However, it does not support the complex regular expression-style wildcards found in Word.

How do I type special symbols using keyboard shortcuts?

If you know the character's ASCII or Unicode value, you can hold down the 'Alt' key and type the numeric code on your numeric keypad (e.g., Alt + 0169 for the Copyright symbol). Alternatively, you can assign custom shortcuts in the 'Insert > Symbol' menu.

Why aren't my custom date formats working in Excel?

Custom date formats may not display correctly if Excel does not recognize the cell's underlying value as a valid date. Ensure your data is entered in a recognized date format first, rather than as plain text, before applying the custom format.