Uber Tools

Find and Replace

Find and replace text, with plain text or regular expressions and their groups

Groups as $1, $2 or $<name>, the whole match as $&, \n for a line break

Text

Replaced

Matches

Type what to find to see where it is in the text

Contact: anna@example.com, 2024-03-15 Contact: ben@example.org, 2023-11-02 Contact: cleo@example.net, 2025-07-30

How to find and replace text

  1. Paste your text.
  2. Type what to find, as plain text or a regular expression, matching case and whole words if you like.
  3. Type what to replace it with; with a regular expression, use its groups as $1 or $<name>.
  4. See what's found marked in the text and how many times, then copy the result.

Questions

Can I use regular expressions?

Yes, with their groups in the replacement ($1, $<name>, $& for the whole match), \n for a line break and \t for a tab, and ^ and $ at each line if you like.

Can a bad regular expression freeze the page?

No, it runs separately and is stopped after a moment if it takes too long.

Can I replace line breaks?

Yes, with a regular expression: find \n and replace it with a space, or the other way round.

Is my text sent anywhere?

No, it's processed by your browser as you type.

Related tools