Text Tool

Find and Replace Text Online

Swap words or patterns across a whole document in one pass.

100% free Data stays private No registration
Use Find & Replace

Matches replaced

2

About the Find & Replace

Find and replace is the fastest way to rename a product across a document, strip a repeated prefix from hundreds of lines, or reformat exported data. This version adds the two things a basic editor usually misses: a live match count so you know the change did what you expected, and optional regular expressions for patterns rather than fixed strings.

How to use the Find & Replace

  1. Paste your text into the original box.
  2. Type what to find and what to replace it with.
  3. Turn on Match case or Whole words only to narrow the matches.
  4. Switch on Regular expression for pattern matching, then copy or apply the result.

Why use this tool?

Live match count

See exactly how many replacements were made before you copy anything.

Regex with capture groups

Use patterns like (\d{4})-(\d{2}) and refer to groups as $1 and $2 in the replacement.

Apply and repeat

Push the result back into the input box to chain several replacements in sequence.

Frequently asked questions

How do I remove text instead of replacing it?

Leave the replace field empty. Every match is deleted.

How do I replace line breaks?

Turn on regular expressions and search for \n. Use \s+ to collapse runs of whitespace into a single space.

Why does my search find nothing?

Check for trailing spaces in the find field, and remember that Match case is strict. In regex mode special characters like . and ? need escaping with a backslash.