Skip to content
QuicklyTools

Find and Replace

Find and replace text with match-case, whole-word and regular-expression options, including $1 capture groups.

Runs in your browser
Loading tool…

About the Find and Replace

Make bulk edits in any text: rename a product throughout a document, swap date formats, or clean exported data. Regular-expression mode supports capture groups, so you can rearrange matches — for example turning “Smith, John” into “John Smith”.

How to use it

  1. Paste your text.
  2. Enter what to find and the replacement.
  3. Toggle match case, whole words or regex; the replacement count is shown.

Good to know

  • In regex mode, use $1, $2… to insert captured groups and $& for the whole match.
  • Invalid regular expressions show an error instead of changing your text.

Frequently asked questions

How do I replace line breaks?

Enable regex and search for \n.

Example of swapping names?

Find (\w+), (\w+) and replace with $2 $1 in regex mode.

More text tools →