Find and Replace

Find and replace text, with optional case-sensitivity and regex support.

This tool runs entirely in your browser. Your files are never uploaded to a server.

Paste your text, enter what to find and what to replace it with, and instantly see the result — with optional case-sensitive matching and full regular expression support for advanced patterns.

Frequently Asked Questions

Can I use regular expressions?
Yes, tick 'Use regex' to treat the find field as a regular expression pattern, including capture groups referenced in the replacement.
Is the search case-sensitive by default?
Yes, case-sensitive matching is on by default; untick the option to ignore case.
What happens with an invalid regex?
An error message is shown and the original text is left unchanged until the pattern is fixed.