Find and Replace for Writers: Making Safe Bulk Edits
Find and replace is one of the most useful tools in the style pass, and one of the most dangerous. A single "Replace all" can fix a name across a manuscript or quietly damage dozens of words you didn't mean to touch. This post explains how to use it safely, and which bulk edits are worth doing.
Good uses
- Making a spelling consistent: "e-mail" to "email", or a character name changed during revision.
- Applying a style decision: "per cent" to "percent", or "OK" to "okay".
- Finding crutch words: search for "just" or "really" to review each occurrence, without replacing.
- Fixing spacing: double spaces after full stops, or spaces before commas.
- Checking consistency: searching for both versions of a variant to see which one dominates.
Safety rules
- Save a copy first. Before any bulk change, save a version you can return to.
- Use "match whole word". Replacing "cat" without it also changes "category" and "educate".
- Decide on case sensitivity. Replacing "May" (the name) should not change "may" (the verb).
- Prefer "Find next" and "Replace" over "Replace all" for anything that might appear in more than one sense.
- Count before and after. Note how many matches the search found, and check the replacement count matches.
- Reread the changes. In a word processor, turn on tracked changes before replacing so every change is visible.
Traps to watch for
| Edit | Trap | Fix |
|---|---|---|
| Renaming a character "Al" to "Sam" | Also changes "also", "always", "Albert" | Whole word, case-sensitive |
| Changing straight quotes to curly ones | Apostrophes at the start of words ("'90s") curl the wrong way | Check each leading apostrophe by eye |
| Removing double spaces | Intentional spacing in poetry or code samples | Skip those sections |
| Changing a plural form | Possessives and capitalised forms are missed | Search for each form separately |
Advanced: pattern searches
Many editors support wildcard or pattern searches, which can find things like a word repeated twice in a row or a number followed by a space and "percent". They are powerful but easy to get wrong. If you use them, test on a copy, start with "Find" rather than "Replace", and build the pattern slowly. For most writers, simple whole-word searches cover nearly everything.
Where it fits in the passes
Bulk edits belong in the style pass, after structure is settled. Doing them earlier means repeating them after every structural change. Keep a short list of standard searches for each project, such as names, variant spellings and crutch words, and run through it every time you reach the style pass. Record the decisions behind those searches in your style sheet, so the next draft and the next editor use the same rules.
One last habit: after any bulk edit, run the word counter again. A large unexpected change in the total, up or down, is often the first sign that a replacement matched far more than you intended.