How to use Find & Replace
- Paste your text into the input panel.
- Type what to find and what to replace it with — leave the replacement empty to delete matches.
- Tick regex or case sensitive if you need them, then press Find & Replace.
- Check the replacement count, then copy the result.
- Leaving the replacement field empty deletes every match — a quick way to strip unwanted characters.
- Regex syntax is JavaScript’s, so lookbehind, named groups and Unicode property escapes are all available in current browsers.
- The original text stays in the left panel, so you can adjust the pattern and run it again without re-pasting.
Literal mode is genuinely literal
With the regex box unticked, every character you type in the search field is escaped before matching, so searching for c:\Users\ or a price like $9.99 or an expression like (a+b) finds exactly that text. This is the difference from pasting a search term into a tool that always treats input as a pattern, where a stray dot or bracket silently matches the wrong thing. The replacement is literal too: a $ in the replacement field stays a $.
What regex mode adds
Tick the box and the search field becomes a JavaScript regular expression, so you can match patterns rather than strings: \s+ for runs of whitespace, ^\s+ for leading indentation, \d{4} for a year, (\w+)@(\w+) for the parts of an address. Capture groups work in the replacement field — $1 is the first group, $2 the second, $& the whole match, and $$ a literal dollar sign. Swapping “John Smith” to “Smith, John” is (\w+) (\w+) replaced with $2, $1. An invalid pattern is reported rather than applied.
Replacement counts are the safety net
The badge showing how many replacements were made is the fastest way to catch a mistake. Expecting twelve and seeing four means your pattern is too narrow; expecting twelve and seeing two hundred means it is too broad and is matching inside words. Check the count before you copy the result, particularly with regex — the classic error is replacing a short word like “is” and quietly mangling “this” and “list” as well.
Matching is global by default
Every occurrence is replaced, not just the first. Case sensitivity is off unless you turn it on, so searching for “the” also finds “The” — convenient for cleaning up prose, dangerous when you are editing code or data where case carries meaning. Turn it on for anything machine-readable.
Frequently asked questions
Does it support regex?
Can I do global replace?
Is it case-sensitive?
Can I use capture groups like $1 in the replacement?
How do I delete every blank line?
Is my text sent to a server?
How do we know nothing is uploaded? Test it yourself on the privacy proof page.