Find and Replace
Find and replace text, with whole words, case and regex.
Loading tool…
Runs entirely in your browser — nothing you enter is uploaded or stored on a server.
How to use it
Replace every match in a block of text — plain text or a regular expression with $1 groups — matching whole words and case if you want, with a count of replacements and a clear message when a pattern is wrong.
- Paste your text.
- Enter what to find and what to replace it with.
- Copy the result.
WritersDevelopersEditors
Questions
How do I reorder dates with regex?
Find (\d+)-(\d+)-(\d+) and replace with $3/$2/$1 to turn 2026-09-25 into 25/09/2026.
Can I replace line breaks?
With regular expressions on, find \n and replace it with what you want between the lines.