Find and Replace Text

Find every match in a block of text and replace it, with optional regex. Utilisation gratuite sans compte, adresse e-mail ni paiement. Le résultat est téléchargé immédiatement.

Find every match in a block of text and replace it, with optional regex.

Paste text, type what to find and what to replace it with, and download the updated.txt. Optionally treat the find field as a regular expression and ignore case.

How it works

  1. Paste your text into the editor.
  2. Type the text to find and what to replace it with. Optionally enable regex or case-insensitive.
  3. Process and download the updated.txt file.

Use cases

Frequently asked questions

How do I delete every match instead of replacing?

Leave the 'Replace with' field empty. Every match of your find pattern is then removed.

Does regex support backreferences?

Yes. The find field is a JavaScript regular expression when 'Use regex' is ticked, so groups and backreferences like $1 work in the replacement.

What if my regex is invalid?

We fall back to returning your original text unchanged rather than failing the job. Double-check the regex and try again.

Is there a pattern length limit?

Regex patterns are capped at 1000 characters to keep the job from hanging on pathological expressions.

Using the interactive tool

Open the canonical HTML page to provide input and generate or download a result. This Markdown alternate contains the complete descriptive and instructional content, but it does not execute the interactive interface.