Find and Replace

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

Your input is processed in this browser and is not uploaded.

Find and Replace

Replace an exact substring throughout pasted text. Dots, brackets and other regex-looking characters are treated literally.

How to use it

  1. Paste the source into Input text.
  2. Enter Find exact text and Replace with; leave Replace with empty to delete matches.
  3. Select Replace text and inspect the result.

Worked example

Replacing cat with dog in cat catalog Cat produces dog dogalog Cat. Matches inside longer words are replaced; the capitalized Cat is unchanged.

Limits and troubleshooting

All nonoverlapping exact occurrences are replaced. There are no regular expressions, case-insensitive options or whole-word boundaries. Empty Find returns unchanged input. Find and Replacement are single-line controls. Source limit: 100,000 UTF-16 code units.

Frequently asked questions

Why were parts of longer words replaced?

Matching uses literal substrings rather than word boundaries. Include surrounding text or use a regex-capable editor when boundaries matter. Regex Tester can inspect a pattern's matches, but it does not perform replacements.

Can replacement contain a dollar sign?

Yes. Replacement is inserted literally, so sequences such as $1 are not capture-group references.