Find and Replace

Find and replace text with case sensitivity and regular expression support.

Runs in your browser Free
Processed locally in your browser.

Change a whole text at once

Use Find and Replace to change a name, product name, date format or misspelled word everywhere in a long document. You see instantly how many matches were found and replaced.

Advanced options

  • Case-sensitive search
  • Regular expression (regex) mode
  • $1, $2 and named capture groups in the replacement

Regex example

Replace the pattern '(\d{2})/(\d{2})/(\d{4})' with '$3-$2-$1' to turn every date like 25/12/2026 into 2026-12-25. Processing happens in your browser.

How to use Find and Replace

  1. Paste your text.
  2. Enter the search term and the replacement.
  3. Turn on case sensitivity or regex if needed.
  4. Copy the edited text.

Why use this tool?

Run powerful regex replacements without a code editor; your text never leaves your device.

FAQ

Can I use capture groups?

Yes. In regex mode, $1, $2 and $<name> in the replacement refer to captured groups.

Can I replace line breaks?

In regex mode you can search for and replace line breaks with \n.

What if my regex is invalid?

The tool shows an error for invalid patterns and doesn't change the text.

Related tools