Find and Replace

–replacements
Replacement tokens follow MDN String.replace: $1 through $9 insert capture groups, $& is the whole match, $` and $' are the text before and after it. In regex mode the flags match JavaScript semantics - g for every match, i for case-insensitive - and a missing g is why only the first occurrence changed.
Find (literal)ReplaceTypical use
tehthethe classic typo, all instances at once
Acme CorpGlobexrenaming a client across a document
2025-01-152026-01-15annual date refresh in notes
 (empty)deleting a stray artifact everywhere
Matching here is literal on purpose: dots, asterisks and backslashes mean themselves, so a search for C:\Users or 3.5* finds exactly that - no pattern surprises, no accidental mass replace from a metacharacter you did not notice. Ignore-case matches any capitalization but always inserts the replacement exactly as you typed it.
Watch the two invisible look-alikes: curly apostrophes (’) vs straight ones ('), and en-dashes vs hyphens - word processors silently substitute the curly forms, so a find typed with straight quotes misses every occurrence in pasted prose. If the count reads zero when you expected hits, that mismatch is usually why. For layout junk rather than words, the remove line breaks tool unwraps PDF text, and the whitespace cleaner tidies space runs.

Paste text, type what to find and what to replace it with, and the result updates live - with a count of how many replacements happened, so you know the operation actually caught everything. Matching is literal by default: the tool finds exactly the characters you type, with a single checkbox to ignore case when the source is inconsistent about capitalization.

There is no regex mode on purpose. Literal matching means a search for 'C:\Users' or '3.5*' finds those exact characters instead of exploding or quietly matching the wrong things - the everyday case is fixing a repeated typo, renaming a product across a document, or updating dates in meeting notes. For structure cleanup (PDF hard-wraps, stray line breaks) pair this with the remove-line-breaks tool; for case-only changes the case converter does it in one click.

How to use

  1. Paste your text, then type the find text and the replacement.
  2. Toggle ignore-case if capitalization varies in the source; the count shows how many hits were replaced.
  3. Copy the result straight back - everything runs locally as you type.

Frequently asked questions

How do I replace text without using regex?

You already are: this tool matches literally, so every character you type - dots, asterisks, question marks, backslashes - means itself. That is the behavior most people want and the one regex tools break: searching '3.5*' in plain text should find '3.5*', not '3' followed by any digit and zero stars. If you specifically need patterns (any digit, optional characters), a code editor's regex mode is the right tool; for exact words and phrases, literal is faster and safer.

What does ignore-case actually match?

With ignore-case on, 'color' finds color, Color, COLOR and cOlOr - and the replacement is inserted exactly as you typed it, so replacing 'color' with 'hue' under a case-insensitive match turns 'Color' into 'hue' (lowercase), not 'Hue'. For text where the capitalization itself carries meaning (headings, acronyms), run case-sensitive instead and do two passes: one for the lowercase form, one for the capitalized form.

How do I delete a word everywhere in my text?

Leave the replace-with box empty - the found text is removed wherever it appears, and the count tells you how many instances went away. That also works for stripping repeated artifacts like double spaces after a deletion: find two spaces, replace with one, and repeat until the count reports zero (a two-pass trick that converges faster than hunting them by eye).

Why does the replacement count matter?

Because 'replace all' is silent about what it did, and silence hides mistakes. A count of 3 when you expected 30 means the find text was slightly off - a plural, a different hyphen, a curly apostrophe instead of a straight one (the classic: 'don't' typed with a typewriter apostrophe does not match the curly one most word processors insert). The count turns replace from a leap of faith into a checkable operation.

Related tools