Skip to main content

Find & Replace

Bulk find and replace text with support for regex and case sensitivity.

findreplacesearch
Read the guide
Shortcuts:⌘ KSearch

Preview

Found 0 matches

Frequently Asked Questions

Can I use regex replacements like `$1` or `$2` in the replace field?

Yes, when Regex mode is enabled. The tool ultimately uses JavaScript's `String.replace`, so normal JS replacement tokens such as `$1` work against capture groups.

What does the Whole word option do behind the scenes?

It wraps your pattern in `\b(?: ... )\b` before building the regex. That means it still works in regex mode, but the word-boundary behavior is JavaScript's idea of a word boundary.

Why do I see highlighted matches in Preview but no changed text in Result yet?

Preview updates live from the current search pattern only. The Result box changes only after you click Replace All or Replace First.

How do I replace only the first occurrence?

Use the Replace First button. It builds the same expression without the global flag so only the first match is replaced.

Can I count matches without changing the text?

Yes. `Count Matches` scans the input, updates the match badge, and refreshes the preview highlights without writing a replacement result.

Related Tools