Skip to content
patrache.tools

Text Find & Replace

Find and replace text online free — bulk search and replace strings with regex and case-sensitive options. Great for batch editing. Browser-based.

Find
Replace
Result
lockYour files never leave your device
Share
Embed

Embed this tool on your site

Free online find-and-replace tool with regex support, case sensitivity toggle, and bulk replacement.

How to use Text Find & Replace?

  1. Type or paste your text.
  2. Enter the search string and replacement string.
  3. Click replace to see the results.

Frequently asked questions about Text Find & Replace

Can I use regular expressions?

Yes, enable regex mode for complex pattern matching and replacement.

Can I make it case-sensitive?

Yes, toggle case sensitivity on or off to search the way you need.

Can I replace several different terms in one pass?

One pair at a time is the default, but a regular-expression group lets you fold several candidates into a single pattern: replacing (apple|pear|grape) with "fruit" handles all three at once. When each term needs a different replacement, order matters — run the terms that do not overlap first, so an earlier result does not get caught by a later rule.

Can I find and replace invisible characters like line breaks or tabs?

Turn on regular-expression mode and you can target a line break as \n, a tab as \t and a run of whitespace as \s+. To clean up the ragged line breaks in text copied out of a PDF, replace \n with a single space and the paragraphs come back. If you want to keep the blank lines between paragraphs, first swap \n{2,} for a temporary marker, do the cleanup, then restore it.

How to get the most out of Text Find & Replace?

  • Groups captured in parentheses come back as $1 and $2, which makes reformatting quick.
  • Dots, question marks and parentheses are regex metacharacters — escape them with a backslash.
  • Check how many matches you get before replacing everything; a greedy pattern eats more than you expect.

Powered by Patrache Studio Tools

Please allow ads on this site

To use these tools, allow ads on this site. Advertising keeps this service free.

Open your ad blocker, turn off blocking for this site, then check again.