How to Highlight Text from Equals Sign to Paragraph Mark in Word
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.
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.
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.
Press 'Ctrl + H' on your keyboard to open the Find and Replace dialog box.
Click on the 'More >>' button to expand the options, and check the box for 'Use wildcards'.
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.
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.
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.
Click 'Replace All' to automatically find and highlight all instances in the document.
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. Open Find and Replace: Open your document in WPS Writer and press Ctrl+H to open the Find and Replace dialog.
- 2. Enable Wildcard Options: Click the 'Advanced' button to reveal search options, then check the 'Use wildcards' box.
- 3. Input the Formulas: Enter '=*^13' in the 'Find what' field and '^&' in the 'Replace with' field.
- 4. Format and Replace: Click 'Format' at the bottom, select 'Highlight', choose your desired color, and click 'Replace All'.

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.




