Productivity 8 min read

How to Find and Replace in Word, Excel & Google Docs

How to find and replace in Word, Excel, Google Docs, Notepad and more. Learn the Ctrl+H find and replace shortcut, wildcards, regular expressions, and how to replace text in bulk online.

Find and Replace: The Fastest Way to Edit Text

Find and replace is one of the most useful editing features in any program that handles text. Instead of manually hunting through a document for every instance of a word, you tell the computer what to look for and what to swap it with — and it fixes every match in a single click. Whether you need to correct a misspelled name across a 50-page report, update a product code in a spreadsheet, or clean up formatting in a block of code, knowing how to find and replace in Word, Excel, Google Docs, and other apps will save you hours.

The best part is that the feature works almost identically everywhere. Once you learn the core idea and the universal keyboard shortcut, you can apply it in Microsoft Word, Excel, Google Docs, Google Sheets, Notepad, and even inside your web browser. This guide walks through each one step by step, covers the powerful wildcard and regular-expression options, and shows you how to run a bulk find and replace online without opening any software at all.

Find and Replace Tool Paste any text and replace all matches instantly — with case-sensitive and whole-word options, right in your browser
Try It Free

The Universal Find and Replace Shortcut

Before diving into individual apps, memorize this: the find and replace shortcut is nearly the same everywhere. On Windows, press Ctrl + H to open the Replace dialog directly. On a Mac, the keyboard shortcut for find and replace is usually Cmd + Shift + H or Cmd + Option + F, depending on the app. To simply find text without replacing, press Ctrl + F (Windows) or Cmd + F (Mac).

App / Platform Find Find and Replace
Microsoft Word (Windows) Ctrl + F Ctrl + H
Microsoft Word (Mac) Cmd + F Cmd + Shift + H
Excel (Windows) Ctrl + F Ctrl + H
Google Docs & Sheets Ctrl + F Ctrl + H (Cmd + Shift + H on Mac)
Notepad / Notepad++ Ctrl + F Ctrl + H
Web browser (Chrome, Edge, Firefox) Ctrl + F Use an online tool

How to Find and Replace in Microsoft Word

Microsoft Word has the most powerful find and replace feature of any word processor. If you have ever wondered where is find and replace in Word, there are two easy ways to reach it. Here is how to do a find and replace in Word on Windows:

  1. Press Ctrl + H, or go to the Home tab and click Replace in the Editing group on the far right of the ribbon.
  2. In the Find what box, type the word or phrase you want to locate.
  3. In the Replace with box, type the new text.
  4. Click Replace to change matches one at a time, or click Replace All to change every instance at once.
  5. Word shows a summary such as "We made 12 replacements." Click OK to finish.

For finer control, click More >> to reveal advanced options. You can enable Match case (so "Apple" and "apple" are treated differently), Find whole words only, and even search for special items like paragraph marks (^p), tabs (^t), or manual line breaks (^l). This is how power users clean up messy documents pasted from PDFs or emails.

Find and Replace in Word for Mac

On macOS, the process is the same but the shortcut differs. Press Cmd + Shift + H, or open the Edit menu and choose Find > Advanced Find and Replace. The dialog fields — Find what, Replace with, Replace All — are identical to the Windows version, so everything you learn transfers between platforms.

How to Find and Replace in Excel

The find and replace in Excel feature works across cells, entire worksheets, or your whole workbook, which makes it perfect for correcting data entry mistakes at scale. To replace text in Excel:

  1. Press Ctrl + H to open the Find and Replace dialog.
  2. Type the value to locate in Find what and the new value in Replace with.
  3. Click Options >> to choose whether to search within the sheet or the entire workbook, match the entire cell contents, or match case.
  4. Click Replace All to update every matching cell instantly.

Excel also supports wildcards in the Find field. Use an asterisk * to match any number of characters and a question mark ? to match a single character. For example, searching for North* finds "Northeast", "Northwest", and "Northern". To search for a literal asterisk or question mark, precede it with a tilde: ~*. This makes bulk cleanup of product codes, phone numbers, and category labels remarkably fast.

Need to replace text outside of Office? Paste columns, lists, or code and run a case-sensitive find and replace in seconds — no formulas required
Open Tool

How to Find and Replace in Google Docs

The find and replace in Google Docs feature lives in the Edit menu and behaves like a lighter version of Word's. To use it:

  1. Open your document and press Ctrl + H (Windows/Chromebook) or Cmd + Shift + H (Mac). Alternatively, click Edit > Find and replace.
  2. Enter your search term in Find and the replacement in Replace with.
  3. Optionally tick Match case or Match using regular expressions for advanced pattern matching.
  4. Click Replace for one change or Replace all to update the whole document.

The regular-expression option is a hidden gem. It lets you match patterns instead of exact text — for example, \d{4} finds any four-digit number, and \s+ collapses runs of whitespace. If you want to learn the full syntax, see our regex cheat sheet for every metacharacter and quantifier explained with examples.

Find and Replace in Google Sheets

Google Sheets mirrors Google Docs. Press Ctrl + H or go to Edit > Find and replace. You can limit the search to a specific range, sheet, or all sheets, and enable "Search using regular expressions" for advanced matching. Because it processes the entire spreadsheet at once, it is ideal for standardizing dates, units, or country names across thousands of rows.

Find and Replace in Notepad and Notepad++

Even the humble Windows Notepad supports find and replace. Press Ctrl + H, enter your terms, and click Replace All. Modern versions of Notepad (Windows 11) also include a "Match case" checkbox.

For anything more advanced, Notepad++ is the go-to free editor. Its Replace dialog (also Ctrl + H) offers three search modes: Normal, Extended (which understands escape sequences like \n for newline and \t for tab), and Regular expression for full pattern power. This makes it a favorite for developers cleaning up log files, CSV exports, and source code.

Wildcards and Regular Expressions Explained

Basic find and replace matches exact text, but wildcards and regular expressions let you match flexible patterns. Here are the most useful symbols you will encounter across Excel, Word, Google Docs, and text editors:

Symbol Where Meaning Example
* Excel wildcard Any number of characters 2024* → 2024-01, 2024-Q3
? Excel wildcard Exactly one character b?t → bat, bit, bot
\d Regex (Docs, Notepad++) Any digit 0–9 \d\d\d → 123, 456
\s Regex Any whitespace character Collapse double spaces
^p Word special Paragraph mark Remove empty lines
^t Word special Tab character Convert tabs to commas

A classic real-world use is removing extra blank lines in Word: open Replace, type ^p^p in Find what and ^p in Replace with, then click Replace All until no more replacements are made. In Google Docs or Notepad++, the regex equivalent is finding \n\s*\n and replacing with a single newline.

Find and Replace Online Without Software

Sometimes you just need a quick, no-install way to clean up text — a list of emails, a block of code, or content copied from a webpage. That is exactly what our free Find and Replace tool is built for. Paste your text, type what to find and what to replace it with, toggle case-sensitive or whole-word matching, and every match updates instantly in your browser. Nothing is uploaded to a server, so your text stays private on your device.

It pairs perfectly with a few other free utilities. After a bulk replace, use the Case Converter to fix capitalization, or compare two versions of your text with the Text Diff Checker to confirm exactly what changed. For pattern-based edits, the Regex Tester lets you build and preview your search expression before you run it.

Find and Replace — Free Online Tool Replace all matches in any text instantly. Case-sensitive, whole-word, and private in your browser
Try It Free

Frequently Asked Questions

What is the shortcut for find and replace in Word?

The find and replace shortcut in Microsoft Word is Ctrl + H on Windows and Cmd + Shift + H on Mac. Pressing Ctrl + F opens the simpler Find pane, but Ctrl + H takes you straight to the full Find and Replace dialog with the Replace and Replace All buttons.

Where is find and replace in Word?

In Microsoft Word, find and replace is located on the Home tab, at the far-right of the ribbon in the Editing group — click Replace. You can also open it instantly from anywhere in the document by pressing Ctrl + H.

How do I find and replace in Excel across the whole workbook?

Press Ctrl + H to open Find and Replace, then click Options >> and set the "Within" dropdown to Workbook instead of Sheet. Enter your find and replace values and click Replace All to update every matching cell across all worksheets at once.

Can I use find and replace with regular expressions?

Yes. Google Docs, Google Sheets, and Notepad++ all support regular expressions in their Replace dialogs — enable the "Match using regular expressions" or "Regular expression" option. Microsoft Word uses its own wildcard syntax (enable "Use wildcards" under More options). For a browser-based option, use an online regex tool to preview your pattern first.

Does find and replace work in Google Docs on mobile?

Yes. In the Google Docs mobile app, tap the three-dot menu in the top-right corner and choose Find and replace. Enter your search term, tap the arrow to review matches, and use the replace options to change them one at a time or all at once.

How do I replace text in bulk without Office software?

Use a free online find and replace tool. Paste your text, enter the word to find and its replacement, choose case-sensitive or whole-word matching if needed, and every match is updated instantly in your browser. Because it runs locally, your text is never uploaded — making it ideal for quick, private bulk edits.

Conclusion

Find and replace is a deceptively simple feature that becomes genuinely powerful once you learn its shortcuts and advanced options. The single most valuable thing to remember is Ctrl + H — it opens the Replace dialog in Word, Excel, Google Docs, Google Sheets, and Notepad alike. From there, wildcards and regular expressions let you match flexible patterns, while options like match case and whole-word search give you precise control.

Whenever you need to make a quick edit without opening a full application, our free Find and Replace tool handles it in your browser — privately, instantly, and with no sign-up. Bookmark it alongside the Case Converter and Text Diff Checker, and you will have a complete text-editing toolkit at your fingertips.

Advertisement
Ad