Find and Replace

Find and replace text in bulk. Whole word, match case, regular expressions with $1 groups, and many pairs at once.

How it works

Type what to find and what to replace it with, and the result updates as you type. Choose "Match case" and "Whole word" to be exact. Turn on "Use regular expression" for patterns, and then you can use $1, $2 (the text in brackets) and $& (the whole match) in the replacement.

To run several replacements in one go, use the box for many pairs: write one pair per line as find=>replace. The pairs are applied from top to bottom.

Worked example

Find (\d{2})/(\d{2})/(\d{4}) and replace with $3-$2-$1 (regex on) turns 25/12/2026 into 2026-12-25. Pairs "colour=>color" and "favour=>favor" in the pairs box fix British spellings in one go.

Good to know

Common questions

How do I replace a new line?
Turn on regex and find \n. Replace with a space or leave empty.
How do I use $1?
In regex mode wrap part of the pattern in brackets, then $1 is the first bracketed part.
Why did nothing change?
Check "Match case" and spacing. The count under the result tells you how many matches were found.
Is it safe for large text?
Yes. Everything is done in your browser.

More in Text.