Find & Replace
Find a word or pattern in Arabic or English text and replace every match at once: plain text or regular expressions, whole-word matching, a match count and a highlighted preview before you replace.
The tool
How to use
- Paste your text in the box.
- Type what to find and what to put in its place.
- Check the match count and the preview, then press “Replace all” or copy the result.
Privacy & how it works
Processes your data in the browser and stores nothing.
- Engine: lightweight in-page code, no external libraries.
- Works offline after you open it once.
Frequently asked questions
How do I replace with a new line or a tab?
Type \n in the replacement box for a new line and \t for a tab (and \\ for a literal backslash). To search for line breaks themselves, turn on “Regular expression” and type \n in the find box.
What is a regular expression?
A way to write a pattern instead of fixed text. For example \d+ matches any number written with the digits 0–9, and (\w+)@(\w+) captures what comes before and after an @. In the replacement you can use $1 and $2 for the bracketed groups and $& for the whole match. The syntax is JavaScript’s, where \w and \b do not understand Arabic letters; use \p{L} for any letter and \p{Nd} for any digit.
How does “Whole word” work with Arabic?
It checks that the characters before and after the match are not letters or digits, and treats Arabic diacritics as part of the word, so “cat” does not match inside “concat”. Arabic prefixes that are written attached to the word (such as the conjunction و or the article ال) are part of it, so a bare word will not match its prefixed form.
Does “Ignore case” affect Arabic?
No, Arabic has no letter case. The search also does not ignore diacritics or unify hamza forms: the same name written with and without a hamza is treated as two different strings.
Is my text saved or sent anywhere?
No. Finding and replacing happen in your browser.