How to Find and Replace Formatting in Google Docs (Bold, Color, Links)
Google Docs' Find and replace only matches plain text, and the replacement takes on whatever formatting was there. You can't say "make every Acme bold" or "find the red text and turn it black". Here's how.
Steps
- Install FindSwap (button below) and open your Doc.
- Go to Extensions → FindSwap → Find & replace and open Formatting options.
- Under Only find text that is, choose what to match: bold, italic, underlined, highlighted, a link, or a text color such as
#ff0000. - Under Give the replacement this formatting, set bold, italic, underline, strikethrough, text color, highlight, or Make it a link.
- Type the word or phrase to find and click Find. Only matches with the formatting you chose are listed, so you can untick any you want to skip.
- Click Apply formatting to restyle the ticked matches and keep the words, or type new text in Replace with and click Replace selected.
Examples
- Link every mention of a product: find PaperBeam, set Make it a link to your product page, click Apply formatting.
- Clear leftover highlights: find TBD with Highlighted selected, set Highlight to
none. - Bold every defined term in a contract: find "Agreement" with Match case and Whole words, set Bold.
- Fix old brand color: find your company name in text color
#1f4e79and give it the new color. - Swap words and style together: replace red "DRAFT" with black "FINAL" in one step.
Note: an empty Replace with box deletes the matches, so use Apply formatting when you only want to change the style.
FindSwap for Google Docs
Install freeFree forever: find, preview, replace, regex, clean-up and undo. Pro adds replacement lists, suggestions and formatting.
Questions
Is formatting find and replace free?
Finding and replacing text is free. Formatting options are part of FindSwap Pro.
Can I undo it?
Yes. Click Undo last in the sidebar, or use Edit → Undo or version history in Google Docs.
Does it work with regex?
Yes. Turn on Regex to match patterns, and the formatting options still apply.