US LA
0 0
:
0 0
:
0 0
US NY
0 0
:
0 0
:
0 0
FR PAR
0 0
:
0 0
:
0 0
RU MOW
0 0
:
0 0
:
0 0
TH BKK
0 0
:
0 0
:
0 0
AU SYD
0 0
:
0 0
:
0 0
โ€ฆ

Find & Replace

Powerful text find and replace tool with regex support, multi-replacement and case preservation.

Find Replace Regex TXT
Options
0 lines 0 characters
0 lines 0 characters
๐Ÿ”’

Your data stays on your device. Nothing is sent to our servers.

What is the Find & Replace tool?

Our find and replace tool is a powerful utility for quickly modifying text in bulk. Whether you need to fix repetitive errors, reformat data, or perform complex transformations with regular expressions, this tool does it instantly and for free. Perfect for developers, writers, and anyone working with text.

Features

๐Ÿ”

Multi-replacement

Add multiple replacement rules to apply simultaneously.

โšก

Regex Support

Use regular expressions for advanced search patterns.

๐ŸŽฏ

Case Preservation

Automatically preserve the case of the original text.

๐Ÿ”’

100% Private

Everything happens in your browser. No data transmitted.

Available Options

Option Description Example
Case sensitive Distinguishes between uppercase and lowercase "Test" โ‰  "test"
Whole word only Only replaces complete words, not substrings "cat" โœ— "category"
Regex Enables JavaScript regular expressions \d+ โ†’ [0-9]+
Preserve case Adapts replacement case to match found text APPLE โ†’ BANANA
Escape sequences Interprets \n as newline, \t as tab \n โ†’ newline

How to use?

1

Enter your rules

Enter the text to find and its replacement. Add multiple rules if needed.

2

Paste your text

Paste or import the source text in the left panel.

3

Replace

Click "Replace All" and get the result.

Regular Expressions Guide

Pattern Meaning Example
.Any characterc.t โ†’ cat, cot, cut
\dDigit (0-9)\d+ โ†’ 123, 4567
\wWord character (a-z, A-Z, 0-9, _)\w+ โ†’ hello_world
\sWhitespacea\sb โ†’ a b, a\tb
^Start of line^Hello โ†’ Hello...
$End of lineend$ โ†’ ...end
*Zero or moreab*c โ†’ ac, abc, abbc
+One or moreab+c โ†’ abc, abbc
[abc]Character class[aeiou] โ†’ vowels
(group)Capture group(\d+) โ†’ $1

Frequently Asked Questions

How do I preserve case when replacing?

Enable the "Preserve case" option. If you replace "apple" with "banana", "APPLE" becomes "BANANA", "Apple" becomes "Banana", etc.

How do I use regular expressions?

Check the "Regular expressions" option. You can then use patterns like \d+ for numbers, \w+ for words, or capture groups with $1, $2, etc.

How do I add line breaks in the replacement?

Enable "Escape sequences" and use \n for a line break, \t for a tab.

Can I undo a replacement?

Yes, use the "Undo" button or Ctrl+Z shortcut to go back. History keeps the last 20 operations.

Is there a size limit?

Processing is done in your browser. Files up to 50 MB are supported without issues.