Find and replace text in Docs
Find a word in a Foxcolab Docs document, replace one match or all of them, and use match case, whole word and regular expression options.
Updated 3 min read
In short
To find and replace in Foxcolab Docs, choose Edit → Find and replace, or press Ctrl+H (⌘H or ⌘⇧H on a Mac). Type what to find, type the new text in Replace with, then click Replace for one match or All for every match. Ctrl+F (⌘F) only finds. The search runs in your browser on the tab you have open.
Key takeaways
- Edit → Find (⌘F or Ctrl+F) searches; Edit → Find and replace (⌘H or Ctrl+H) also replaces.
- The counter shows where you are, such as 3 of 12. Enter goes to the next match and Shift+Enter to the previous one.
- Replace changes the current match. All changes every match in the open tab.
- Match case, Match whole word and Use regular expression narrow the search.
- In Suggesting mode, each replacement becomes a suggestion that an editor can accept or reject.
- People with view or comment access can find text but can't replace it.
Last reviewed 3 December 2026
To find and replace text in Foxcolab Docs, choose Edit → Find and replace, or press Ctrl+H (⌘H on a Mac). To only look for a word, press Ctrl+F (⌘F). Docs is end-to-end encrypted, so the search runs in your browser on the document you have open.
Find text#
Open the find box
Click in the document and press ⌘F (Ctrl+F on Windows), or choose Edit → Find. If you selected a short piece of text on one line first, it's already in the box.
Type what you're looking for
Every match is highlighted as you type. The counter in the box shows your place, such as 3 of 12, or No results.
Move between matches
Press Enter for the next match and Shift+Enter for the previous one, or use the Next match and Previous match arrows. The search wraps around at the end.
Close it
Press Esc or click Close. The highlights go away and the cursor goes back to the document.
Replace text#
Open find and replace
Choose Edit → Find and replace, or press ⌘H (Ctrl+H on Windows). If ⌘H hides your browser on a Mac, press ⌘⇧H instead. From the find box, you can also click Show replace, the arrow at its left.
Enter both texts
Type the text to find in the first box and the new text in Replace with.
Replace one or all
Click Replace to change the current match and jump to the next one, so you can check each change. Click All to change every match at once.
In the Replace with box, Enter works like Replace, and ⌘Enter (Ctrl+Enter) works like All. The new text takes the formatting of the text it replaces, so a bold client name stays bold. Leave Replace with empty to delete every match. To undo a replacement, press ⌘Z (Ctrl+Z).
Narrow the search#
The three buttons inside the find box turn options on and off:
| Option | What it does | Example |
|---|---|---|
| Match case | Only finds the same capitals. Without it, case is ignored. | Acme doesn't find ACME |
| Match whole word | Skips matches inside longer words. | cat doesn't find category |
| Use regular expression | Treats the search as a pattern. | colou?r finds color and colour |
With Use regular expression on, the replacement can reuse parts of the match. $1, $2 and so on insert the groups in parentheses, $& inserts the whole match, and $$ inserts a dollar sign. To turn dates such as 2026-12-02 into 02/12/2026, find this:
(\d{4})-(\d{2})-(\d{2})and replace with this:
$3/$2/$1If the pattern isn't valid, the box turns red and shows Invalid pattern.
Good to know#
- One tab at a time: in a document with tabs, find and replace covers the tab that's open. Switch tabs and run it again.
- Suggesting mode: if you switch to Suggesting first, each replacement shows as a suggestion that you or another editor can accept or reject. This is a safe way to rename a client across a long contract. See Suggest edits and track changes in Docs.
- View and comment access: people who can only view or comment can find text, but the replace options don't appear and Find and replace is greyed out. The same applies to you in Viewing mode.
- Templates: find and replace is the quickest way to fill in placeholders such as
[Client name]in a document made from a template.
Common problems#
| Problem | Fix |
|---|---|
| No results, but the word is there | Turn off Match case and Match whole word. Check that you're on the right tab. A match can't run across a line break, an image, a mention or a footnote. |
| Invalid pattern | Use regular expression is on and the text has characters such as ( or [. Turn the option off, or put \ before those characters. |
| No Replace with box | You have view or comment access, or the document is in Viewing mode. Ask the owner for edit access, or switch to Editing. |
Related#
Frequently asked questions
Can I find and replace across every tab of a document at once?
No. Find and replace works on the tab that's open. Switch to the next tab and run it again. The search text and options stay in the box while it's open.
Does Replace keep my formatting?
Yes. The new text takes the formatting of the text it replaces, such as bold, a font or a link. If a match mixes formats, it takes the formatting of the match's first character.
Can I undo a Replace all?
Yes. Press ⌘Z on a Mac or Ctrl+Z on Windows, or choose Edit → Undo.
Can Foxcolab see what I search for?
No. Docs is end-to-end encrypted, and find and replace runs in your browser. What you search for isn't sent to Foxcolab, and the changes you make are encrypted on your device before they sync.
Did this answer your question?
One click, no account needed.
Still need help?
Our support team can take it from here.