Find and Replace
Bulk find-and-replace with whole-word, case and regex options.
About the Find and Replace
Every editor has find-and-replace, but it's often locked inside a document, limited to one file format, or missing the options that make bulk edits safe. This tool gives you the full version in the browser: paste any text, say what to find and what to put in its place, and take the result away — with three switches that separate a clean edit from a mangled one.
Whole-word matching is the guard rail most built-in tools lack: replacing "cat" with "dog" naively also turns "category" into "dogegory", while whole-word mode touches only the standalone word. Case sensitivity lets you decide whether "Invoice" and "invoice" are the same target — off by default, since they usually are. And regular-expression mode unlocks pattern-based edits for power users: dates, phone numbers, repeated whitespace, anything describable as a pattern, with capture-group references like $1 available in the replacement so you can reorder rather than merely substitute.
Everyday jobs it handles: updating a company or product name across a long document, normalising phone-number or date formats in an exported list, stripping tracking parameters from a page of URLs, fixing a repeated typo in bulk, or converting delimiters in data too irregular for the CSV tools. In plain-text mode the replacement is inserted literally — no surprise interpretation of special characters. Your text never leaves the browser, making it safe for contracts and customer data. Replace, review the output, copy it back.
Frequently asked questions
- What does whole-word mode do?
- It matches your search only when it appears as a standalone word, so replacing "cat" won't alter "category" or "concatenate". Word boundaries are letters/digits vs everything else.
- Can I use capture groups in the replacement?
- Yes — in regex mode, groups captured with parentheses are available as $1, $2, … in the replacement. For example, find (\d{2})-(\d{2})-(\d{4}) and replace with $3/$2/$1 to flip a date format.
- Why did my replacement with a $ sign behave oddly?
- In regex mode, $ sequences in the replacement are special ($1, $&). Use plain-text mode for literal replacements — there the replacement string is inserted exactly as typed.
Related tools
Convert text to UPPERCASE, lowercase, Title Case, camelCase, snake_case and more.
Remove Duplicate LinesDe-duplicate any list while keeping the original order.
Text SorterSort lines alphabetically, by length, or in natural numeric order.
Regex TesterTest regular expressions against sample text and inspect every match and group.