Text utilities

Find and Replace Text

Replace every exact occurrence of a text fragment without regular expressions.

Text stays in your browserCopy your result

Input workspace

Runs on your device

OUTPUT WORKSPACE

Your result

Let’s calculate.

Use the Calculate button to see your result.

Your content is processed locally.

How to use this tool

  1. Enter original text, find, replace with.
  2. Select Update result to view the result.
  3. Check the method and assumptions below before using the result.

The method, explained

Split on the exact case-sensitive search text and join the pieces with the replacement. Matches are non-overlapping.

A WORKED EXAMPLE

Replacing blue with clear in “blue sky, blue sea” gives “clear sky, clear sea” and reports 2 replacements.

What to keep in mind

Search is case-sensitive and literal, not a regular expression. An empty search is rejected; an empty replacement removes matches. Output size is bounded.

Common questions

Are dollar signs special in replacement text?

No. The replacement is inserted literally, including dollar signs and backslashes.

Can I remove a word?

Yes. Leave the replacement empty, but review surrounding spaces and punctuation afterward.

Methodology maintained by ClarityKit. How these tools are built and checked.