Skip to content
Bold PilotBold Pilot

Find and Replace Text

Whole-word matching and regular expressions, instantly, in your browser.

Input

Result · 3 matches

Fixing text after the fact is the easy part.

Bold Pilot writes the article right the first time — week after week.

Try Bold Pilot

Utility guide

Find and replace, four options at a time

Every text editor has a find-and-replace feature, but not every place text lives is a text editor — a CMS content field, a chat window, a form. This tool runs the same operation on any pasted text, with the four options that change what actually counts as a match.

The four options

  • Case-sensitive — off by default, so Fox and fox both match. Turn it on when case matters, like replacing a specifically-capitalized brand name without touching the lowercase word.
  • Whole word — without it, replacing cat also matches inside concatenate. With it, only cat as a standalone word matches.
  • Use regex — off by default, so characters like ., * and $ in the Find field are treated literally (useful for replacing a price like $5.00 without it being read as a pattern). Turn it on to write an actual regular expression, including capture groups referenced in the replacement as $1, $2, and so on.
  • Replace all — on by default. Turn it off to replace only the first match, useful when a text has one instance you want changed and others you want left alone.

A regex example

Find (regex on):     (\w+)@(\w+)\.com
Replace with:        $1 [at] $2 [dot] com

That pattern captures the part before and after the @ in a .com email address and rebuilds it de-linked — a common trick for posting an email address somewhere that strips or spams-flags anything that looks like one.

Frequently asked

Does this tool send my text anywhere?

No. Every replacement runs in your browser with plain JavaScript — nothing is uploaded, logged, or sent to a server.

Why does my regex say it’s invalid?

Regular expressions have their own syntax rules — an unclosed bracket like [a-zor an unescaped special character in the wrong place will fail to compile. The tool reports the error rather than silently doing nothing, so it’s clear the pattern itself needs fixing.

Can I replace text with nothing, to delete it?

Yes — leave the Replace field empty and every match of Find is removed.