🔎 Find and Replace
Find and replace text with optional regex support, case sensitivity, and whole-word matching — all in your browser, no upload, instant results.
About the Find and Replace tool
This find and replace tool runs entirely in your browser. Enter a find pattern and replacement text, choose matching options, then click Replace All or Replace First. Nothing is uploaded to a server — all processing happens locally with JavaScript on your device.
Options explained
- Case sensitive — When checked,
Appleandappleare treated as different. When unchecked, matches ignore case. - Whole word — When checked, only matches that are complete words are replaced. For example, finding
catwould not match insidecategory. - Use regex — When checked, the find field is treated as a regular expression. You can use patterns like
\d+to match digits, or capture groups with$1in the replacement.
How to use the tool
- Paste your text into the input box.
- Type the text or pattern to find, and the replacement text.
- Toggle case sensitivity, whole-word matching, or regex as needed.
- Click Replace All to replace every match, or Replace First to replace only the first. The count of replacements is shown below the buttons.
- Click Copy result to copy the output to your clipboard, or Clear to start over.
Frequently asked questions
Does this tool upload my text? No. All processing happens locally in your browser. Your text never leaves your device.
What regex syntax is supported? Standard JavaScript regular expressions. Common patterns like \d, \w, ., *, +, ?, and capture groups work as expected.
Can I use capture groups in the replacement? Yes. Use $1, $2, etc. to reference capture groups when regex mode is enabled.
What happens if the find field is empty? No replacements are made. The tool shows a reminder to enter a search term first.