Find & Replace Tool

Search and replace text with powerful options including regex support, case sensitivity, and match highlighting.

0 matches

Preview

Matches will be highlighted here…

The Find and Replace tool searches your text and swaps one string for another, with support for regular expressions, case sensitivity, and match highlighting. Paste your text, set the search and replacement, and apply the changes instantly.

It is ideal for edits that would be tedious by hand — renaming a term throughout a document, fixing a repeated typo, reformatting a list, or cleaning up data pasted from elsewhere. Everything runs in your browser, so even long documents update instantly and your text stays private.

How to find and replace text

  1. Paste your text into the tool.
  2. Enter the text to find and the text to replace it with.
  3. Turn on regex or case sensitivity if needed.
  4. Apply the replacement and copy the result.

Plain text vs. regular expressions

For most edits, a plain find-and-replace is all you need: type the exact text to find and what to replace it with. Turn on regular expressions when the pattern varies — for example, matching any number, collapsing multiple spaces into one, removing everything inside brackets, or reformatting dates. Regex also supports capture groups, so you can rearrange matched text (like swapping “First Last” to “Last, First”) rather than just replacing it.

Case sensitivity and matching

By default, matching can ignore capitalisation so “Color” and “color” are both found. Enable case sensitivity when the exact capitalisation matters — for instance replacing a specific variable name in code without touching a similarly spelled word. Match highlighting shows you every occurrence before you commit, so you can confirm the replacement will hit exactly what you intend and nothing more.

Common uses

Typical jobs include standardising terminology across a document, stripping unwanted characters from exported data, converting delimiters (commas to tabs, say), removing blank lines, and bulk-fixing formatting from a copy-paste. Because the tool works on the entire block at once, a change that would take dozens of manual edits happens in a single step.

Frequently Asked Questions

How do I find and replace text online?

Paste your text, type what to find and what to replace it with, and the tool updates every match instantly.

Does it support regular expressions?

Yes, you can use regex patterns for advanced search-and-replace, including groups and wildcards.

Can I make the search case-sensitive?

Yes, case sensitivity is an option so you can match exact capitalisation.

Is the tool free and private?

Yes, it’s free and runs entirely in your browser.