Find & Replace
Find and replace text with literal strings or regex patterns — with case sensitivity control.
About this tool
The Find & Replace tool performs bulk text substitution on any input: enter a search term and a replacement, and every occurrence in the text is replaced instantly. Supports both plain-text matching and full regular expression patterns, with case-sensitive and case-insensitive modes.
Regex mode lets you use capture groups, anchors, lookaheads, and any JavaScript RegExp feature. For example, find \b(\w+)\s+\1\b to detect doubled words. The replacement count is shown live so you always know how many substitutions were made.
All text stays in your browser — nothing is sent to a server. Common uses: cleaning up exported data, bulk-renaming variable occurrences in a snippet, stripping repeated words, transforming text formats, or removing unwanted characters from copied content.
Frequently asked questions
Can I use capture groups in replacement?
How do I replace all occurrences vs. just the first?
What does "case sensitive" do?
My regex gives an error — why?
Related tools
Regex Tester / Debugger
Live regex testing with match highlighting, captured groups, and flag controls.
Word / Char / Line Counter
Count words, characters, lines, sentences, and estimate reading time — instantly, client-side.
Sort Lines
Sort lines alphabetically, numerically, in reverse, or shuffle randomly — with duplicate removal.