Find and Replace help
Find and Replace works on a whole block of text at once. Use a plain search or a regular expression, refer to capture groups as $1, $2 in the replacement, and see how many matches were changed.
Steps
- Paste your text and enter a search pattern.
- Turn on regex, case-insensitive, or whole-word as needed.
- Enter the replacement and apply it, or just read the match list.
Common questions
How do I use a capture group?
In regex mode, wrap part of the pattern in parentheses and write $1 for the first group, $2 for the second, and so on. $& is the whole match and $$ is a literal dollar sign.
Does whole-word work with regex?
The whole-word option adds word boundaries around a plain search. In regex mode, add \b yourself where you want it.
Will a pattern that matches nothing cause an error?
No. It reports zero matches and leaves the text unchanged.
Does anything leave my browser?
No. The tool runs entirely on this page.
Everything runs in your browser. Nothing you enter or drop is uploaded.
Back to Find and Replace