Text Tools

Find and Replace

Search for text or regex patterns and replace them instantly. Perfect for bulk text editing, code cleanup, and data transformation.

Free · Runs in your browser · No signup · Files stay on your device

Share:
Paste text, enter what to find, then click Replace All.

How to use

How to use Find and Replace

  1. 1Paste your text into the input area.
  2. 2Enter the text or pattern to find.
  3. 3Enter the replacement text (leave empty to delete matches).
  4. 4Set options: case-sensitive, regex mode.
  5. 5Click Replace All and copy the result.

Tips

Quick tips

  • Toggle 'Use Regex' for pattern-based replacements like removing all numbers: \d+
  • Leave the replacement field empty to delete all matches.
  • Case-insensitive mode is on by default — toggle it for exact matching.

FAQ

Frequently asked questions

Does this support regular expressions?

Yes. Toggle 'Use Regex' to use JavaScript regex patterns. This supports groups, lookaheads, quantifiers, and character classes.

How do I delete all matches?

Leave the 'Replace with' field empty. All matches will be removed from the text.

Is the search case-sensitive by default?

No. By default, the search is case-insensitive. Toggle 'Case Sensitive' if you need exact-case matching.

Can I replace newlines?

In regex mode, use \n to match newlines. For example, replace \n with a comma to join all lines.

Related

Related tools and guides