logo
search
Formatting Issues

How to Highlight Text from Equals Sign to Paragraph Mark in Word

Maira MehtabMaira Mehtab Sep 22, 2026 869 views

Question details

The user needs to automatically select and apply highlighting to all text starting from an equals sign (=) up to the end of the paragraph without manually selecting every line.

Product
Word
Device & OS
not provided
Scenario
Applying highlighting formatting to specific text strings across multiple paragraphs in a document in bulk.
Observed behavior
The goal is to use an automated method to format a repeating string pattern (from an equals sign to the paragraph end) efficiently.
Before you start

Ensure you have your document open and consider turning on paragraph marks (formatting marks) visibility so you can clearly see where each paragraph ends. Using wildcards allows for advanced pattern matching, so following the exact syntax is important.

Solution 1Recommended

Use Wildcard Find and Replace to Apply Highlighting

Use Word's advanced Find and Replace feature with wildcards to quickly locate and highlight text starting from an equals sign to the end of the paragraph.

Wildcard characters allow you to search for text patterns rather than exact words. By combining the equals sign, an asterisk (which means any text), and the paragraph mark code, you can easily target entire line segments.

1
Open Find and Replace

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

2
Enable Wildcards

Click on the 'More >>' button to expand the options, and check the box for 'Use wildcards'.

3
Enter the Search Pattern

In the 'Find what' box, type '=*^13' (without the quotes). Here, '=' is your starting character, '*' stands for any amount of text, and '^13' represents the paragraph mark.

4
Set the Replacement Text

In the 'Replace with' box, type '^&' (without the quotes). This code tells the program to replace the found text with exactly the same text, ensuring no words are deleted.

5
Apply Highlight Formatting

With your cursor still blinking inside the 'Replace with' box, click on the 'Format' drop-down at the bottom of the dialog box, select 'Highlight' (or choose 'Font' to pick a specific color). The word 'Highlight' should appear under the 'Replace with' box.

6
Execute the Replacement

Click 'Replace All' to automatically find and highlight all instances in the document.

Excluding the Paragraph Mark: Because the search string explicitly includes '^13', the paragraph mark itself will also be highlighted. If you strictly need the paragraph mark unhighlighted, you may need to manually remove the highlight from the paragraph breaks afterward or use a more complex macro.
Advanced Formatting in WPS Writer

Use WPS Writer to Bulk Highlight Text Using Wildcards

WPS Writer offers powerful wildcard Find and Replace capabilities, making it incredibly easy to automate complex formatting tasks like highlighting text between specific characters and paragraph ends.

  1. 1. Open Find and Replace: Open your document in WPS Writer and press Ctrl+H to open the Find and Replace dialog.
  2. 2. Enable Wildcard Options: Click the 'Advanced' button to reveal search options, then check the 'Use wildcards' box.
  3. 3. Input the Formulas: Enter '=*^13' in the 'Find what' field and '^&' in the 'Replace with' field.
  4. 4. Format and Replace: Click 'Format' at the bottom, select 'Highlight', choose your desired color, and click 'Replace All'.
Fully compatible with Microsoft Word document formats (.docx, .doc).Advanced Find and Replace supports standard wildcard syntax including ^13.Free and lightweight office suite with a familiar user interface.Easily format large documents without manual line-by-line editing.
QA img-9

Frequently Asked Questions

What does ^13 mean in wildcard searches?

In wildcard searches, ^13 represents the paragraph mark (also known as a carriage return). It tells the Find and Replace tool to look for the exact point where a paragraph ends.

What does ^& do in the Replace with box?

The ^& code represents the exact text found by the 'Find what' box. Using it in the 'Replace with' field ensures you are only applying formatting and not deleting or altering the original text.

Why is the paragraph mark getting highlighted too?

Because the search pattern =*^13 explicitly includes the paragraph mark (^13), the highlight formatting applied to the replacement will also cover the paragraph mark. You may need to manually clear formatting from paragraph breaks if you want them excluded.

Can I highlight text starting with a different character or word?

Yes, you can replace the equals sign (=) in the =*^13 formula with any other character or word. For example, using 'Note:*^13' will highlight everything from the word 'Note:' to the end of the paragraph.