Ω
OmniToolbox
📝

Find and Replace Text Online | Regex Supported

Find and replace words or patterns in any text. Supports plain text, regular expressions with capture groups, match case and whole-word matching, with a live match count.

100% Secure & Local: Your files never leave your device.

About Find and Replace

Find and replace words or patterns in any text. Supports plain text, regular expressions with capture groups, match case and whole-word matching, with a live match count. This tool runs entirely within your browser using client-side technologies. Your data is never uploaded to our servers, ensuring maximum privacy and security.

How to Use

  1. Paste your text into the Text box.
  2. Type what to find and what to replace it with. Leave "Replace with" empty to delete matches.
  3. Switch to Regular expression mode for patterns, and use $1, $2 to reuse captured groups.
  4. Check the match count, then copy the result.

Key Features

Plain text or regex

Replace exact phrases safely, or use regular expressions for patterns like dates, numbers or e-mail addresses.

Capture groups

Reorder parts of a match, for example turn 2026-03-14 into 14/03/2026 with $3/$2/$1.

Match case and whole words

Avoid accidental replacements inside longer words.

Live preview

The result and match count update instantly; nothing is sent to a server.

Frequently Asked Questions

How do I replace text with a line break?

Switch to Regular expression mode and use \n in the Find field to match line breaks. To insert a new line, type the replacement directly with a line break copied from the text.

Why does my regular expression show an error?

The pattern is invalid, often because of an unescaped character such as ( or [. Escape special characters with a backslash, for example \( or \.

Can I delete every match instead of replacing it?

Yes. Leave the "Replace with" field empty and every match is removed.