Find and replace

Replace literal text or regular-expression matches throughout pasted text.

Processed on your device

Input

Open a local UTF-8 text file5 MiB maximum. The file opens in the text box above.Or drop a file here.

Options

Options

How to use this tool

  1. Enter the text to find and its replacement.
  2. Literal mode treats punctuation as ordinary text. Regex mode supports replacement captures such as $1.
  3. Run to replace every match.

Things to know

  • Processing happens on your device. Check the result before replacing your original data.
  • Each text input accepts up to 5 MiB. Output is limited to 25 MiB and combined text settings to 1 MiB.
  • Line-based modes accept up to 100,000 lines, including a trailing empty line.
  • Output is limited to 25 MiB of UTF-8 text. Shorten the input, separators or replacement settings if it exceeds the limit.
  • Find patterns are limited to 10,000 characters and replacement to 1,000,000 matches. Regex mode supports JavaScript dollar substitutions; literal mode preserves dollar signs.

You might also need

More in text & lists