Find and Replace
Replace every match in your text, with regex, whole-word and case-sensitive options.
100% private — everything runs in your browser
How to Use
- 1
Paste the text you want to edit into the left panel.
- 2
Enter what to find, then what to replace it with.
- 3
Enable regex, whole word or case sensitivity if you need tighter matching.
Examples
Rename a variable
Input
Find: userName · Replace: user_nameOutput
Every occurrence is renamedRegex: mask digits
Input
Find: \d+ · Replace: #Output
All numbers become #FAQ
Are capture groups supported?
Yes. In regex mode use $1 … $9 in the replacement to insert the captured text.
Why were no matches replaced?
Check case sensitivity and whole-word mode — whole word only matches when the pattern is surrounded by non-word characters.
Is there a size limit?
The tool runs on your device, so large documents are limited by browser memory rather than an arbitrary cap.
Related Tools
Remove Duplicate LinesDelete duplicate and blank lines, trim whitespace and sort a list — all locally in your browser.Regex TesterTest a regular expression against your own text, highlight every match and inspect capture groups.Case ConverterConvert text between camelCase, snake_case, kebab-case, PascalCase and other naming styles instantly.Word CounterCount words, characters, sentences, paragraphs and lines in real time, with estimated reading time. Works with English, Chinese, Japanese, Korean and any Unicode text — everything stays in your browser.Text Diff CheckerCompare two blocks of text line by line and see exactly what was added, removed or left unchanged.Sort Text LinesSort, reverse or shuffle lines of text — alphabetically, by length or numerically, with dedupe options.