How to use it
- Paste your text
Type, paste, or drop a .txt file into the editor. Long documents are fine.
- Type what to find and the replacement
The number of matches updates as you type. Press Replace all when it looks right.
- Copy or download
Copy the result, download it as a .txt file, or press Undo to go back a step.
The options
- Match case:
Applewill not matchapple. Off by default. - Whole words only:
catmatches "cat" but not "category" or "concatenate". Word boundaries follow Unicode, so this works for Arabic words too. - Ignore tashkeel (Arabic):
محمدalso matchesمُحَمَّد. The diacritics in the original text are replaced together with the word. - Regular expression: the search is a JavaScript regular expression.
Regular expressions in 60 seconds
\d+ matches a number, \s+ any run of whitespace, ^ and $ the start and end of the text, . any character, and (…) captures a group you can reuse in the replacement as $1, $2. For example, find (\d{4})-(\d{2})-(\d{2}) and replace with $3/$2/$1 to turn 2026-11-10 into 10/11/2026. In the replacement, \n inserts a line break and \t a tab. Without the regex option, everything you type is literal, including $ and ..
Safe to try
The match count shows before you replace anything, and Undo restores the previous text. For bigger cleanups, the ready-made tools are faster: remove line breaks and extra spaces, remove tashkeel, or change case.