Find and Replace

Find and replace text instantly

About Find and Replace

Find and Replace searches your text for every match of your "Find" term and swaps it with your replacement text, entirely in your browser. By default, "Find" is treated as plain literal text — characters like . * + ( ) [ ] match themselves, not regex syntax. Check "Use regular expression" to opt into full regex matching, including capture groups and backreferences in the replacement.

How to use Find and Replace

  1. 1Paste your text into the main text box.
  2. 2Enter your search text in the "Find" field and your replacement text in the "Replace with" field.
  3. 3Check "Use regular expression" only if you want regex matching — leave it unchecked for plain literal text.
  4. 4Click "Replace All" to replace every match in one pass, then copy your updated text from the output field.

Frequently Asked Questions

Does this tool support regular expressions?

Yes, as an opt-in — check "Use regular expression" to have the "Find" field interpreted as a regex, with special characters like . * + ( ) [ ] ^ $ taking on their regex meaning. Leave it unchecked for plain literal matching.

Do I need to escape special characters by default?

No — with "Use regular expression" unchecked (the default), your search text is matched literally, so characters like . and ( match themselves.

Is matching case-sensitive?

Yes, always — there's no case-insensitive option.

Is my data private?

Yes, all text processing happens locally in your browser — nothing is uploaded to a server.

Tips & Tricks

  • Leave "Use regular expression" unchecked for straightforward text replacement — no need to escape special characters.
  • Enable regex mode for advanced patterns, like using groups such as (\w+) with backreferences in your replacement text.
  • "Replace All" always replaces every match in one click — there's no separate single-replacement mode.
  • Keep a copy of your original text before replacing, since there's no undo button.