Find & Replace Text Tool
Paste your text, say what to find and what to put instead, and replace every match at once, in plain text or with a regular expression.
How it works
Every occurrence of the text in Find is replaced by the text in Replace with, and the result appears in the output box. Your original input is never changed until you choose “Use output as input”. Nothing leaves your browser.
- Match case: when ticked, “The” and “the” are different. Otherwise they match each other.
- Whole word only: “cat” will not match inside “category” or “concatenate”.
- Regular expression: treat Find as a pattern. In the replacement,
$1,$2and so on insert the captured groups,$&inserts the whole match and$$inserts a dollar sign.
In plain mode every character is taken literally, so characters such as ., * and $ in Find or Replace need no escaping.
Worked examples
Plain: in “The cat sat on the mat. The cat slept.” replacing cat with dog gives “The dog sat on the mat. The dog slept.” (2 matches).
Match case: replacing The with A with Match case ticked gives “A cat sat on the mat. A cat slept.” (2 matches, the lowercase “the” is left alone).
Regex: in “10-20” the pattern (\d+)-(\d+) with replacement $2-$1 gives “20-10”.
Frequently asked
What happens when nothing matches?
The output is left identical to the input, and the status line says no matches were found so you can check your spelling or options.
Why do I get an invalid regular expression message?
The pattern has a syntax problem, such as an unclosed bracket or group. Untick Regular expression if you meant to search for those characters literally.
Does whole-word matching work with accented letters?
Yes. Word boundaries are checked against any letter or digit in any language, plus the underscore, so “café” and “naïve” are treated as whole words.
Last updated: October 2026