Free · No sign-up · Runs in your browser
Find and Replace Text
Replace every occurrence of a word, phrase, or pattern across a whole document at once. Supports plain text matching and full regular expressions, with case sensitivity as an option.
How to use it
- Paste your text into the box above.
- Enter what to Find and what to Replace with. Leave the replacement empty to simply delete every match.
- Tick Regular expression for pattern matching, or leave it off to match the text literally.
- Click Replace all.
Useful regular expressions
\s+— one or more whitespace characters. Replace with a single space to normalise spacing.\d+— one or more digits. Replace with nothing to strip all numbers.^\s+— whitespace at the start of a line, for trimming indentation.<[^>]+>— anything inside angle brackets, which strips HTML tags.(\w+)@(\w+)— captures two groups; refer to them in the replacement as$1and$2.
Literal mode escapes special characters for you
With Regular expression switched off, characters like ., *, ?, and ( are escaped automatically and matched literally. That means searching for 3.50 finds exactly "3.50" rather than "3x50" or "3550", which is what a plain-text search should do. Switch regex on only when you actually want pattern behaviour — and if your expression is malformed, the tool tells you rather than silently doing nothing.