Skip to main content
Text ToolsAugust 24, 2026 · 3 min read

How to Find and Replace Text Online

Find and replace text with live match highlighting, case sensitivity, and whole-word matching — including why whole-word matching needs to be Unicode-aware for Vietnamese text.

By QR Ivify Team

How to Find and Replace Text Online

Swapping a name throughout a document, fixing a repeated typo, bulk-editing exported data before pasting it somewhere else — find and replace is one of the most-used text operations there is, and also one where a subtle bug (matching part of a word instead of the whole word) can silently corrupt text you didn't mean to touch.

Why "Whole Word" Matching Is Trickier Than It Looks

Search for "cat" without whole-word matching and you'll also match the "cat" inside "category," "concatenate," and "vacate." Whole-word matching fixes this — but here's the part that trips up a lot of implementations: the standard way to define a "word boundary" in most programming languages only recognizes plain ASCII letters (a-z, A-Z, 0-9, underscore) as word characters. Feed it Vietnamese text and that boundary logic breaks, because Vietnamese diacritic letters aren't ASCII.

QR Ivify's Find & Replace uses Unicode-aware word-boundary detection instead, so whole-word matching works correctly on Vietnamese and other non-English text — not just English.

Step by Step

  1. Open Find & Replace.
  2. Paste your text into the box.
  3. Type what to find and what to replace it with — matches are found and highlighted live as you type.
  4. Turn on "Case sensitive" or "Whole word" if you need stricter matching.
  5. Click "Replace" to replace just the first match, or "Replace All" to replace every match.

Live Match Highlighting

As you type into the Find field, matches are highlighted directly in a preview below — so you can see exactly what's about to be replaced before you commit to it, rather than discovering an unwanted match after the fact.

Case Sensitivity and Whole Word, Together

These two options combine, and it's worth being deliberate about both:

  • Case sensitive off + whole word off (the loosest setting) matches "Cat," "cat," and the "cat" inside "category" — useful for a broad sweep, risky if precision matters.
  • Case sensitive on + whole word on (the strictest) only matches an exact-case, standalone word — the safest setting when you're editing something where an unintended partial match would be a real problem.

Frequently Asked Questions

Does the match count update as I type? Yes — both the match count and the highlighted preview update live as you type in the Find field.

What does "Whole word" do? It only matches your search term when it appears as a complete word, not as part of a longer word — searching "cat" won't match inside "category" when this is on, including for Vietnamese and other non-English text.

Can I replace just the first match instead of all of them? Yes — "Replace" replaces only the first match; "Replace All" replaces every match at once.

Does a $ in my replacement text cause problems? No — replacement text is always inserted literally, so a $ or any other character in it won't be misinterpreted as a special pattern.

Does this upload my text anywhere? No. Searching and replacing both happen entirely in your browser.

Try It

Need to bulk-edit text with confidence that you're only matching what you mean to? QR Ivify's free Find & Replace tool shows live match highlighting before you commit. Cleaning up formatting at the same time? Try Text Cleaner.

find and replacetext toolstutorial

Related articles