Find and Replace
Find and replace text with options for case sensitivity, whole words and regular expressions.
Runs in your browser. Your input is processed on your device and is not uploaded to our server.
Matches preview
How to use the Find and Replace
- Paste your text.
- Enter what to find and what to replace it with.
- Choose match options and click Replace all. The number of replacements is shown.
Use plain text search for simple edits, or enable regular expressions for patterns. In regex mode you can use capture groups in the replacement, such as $1. Matches are highlighted before you replace so you can check them.
Frequently asked questions
Which regular expression syntax is used?
JavaScript regular expressions, the same syntax used in the Regex Tester.
Can I undo a replacement?
Yes. Click Undo to restore the text from before the last replacement.