Find and Replace Text
Find every match in a block of text and replace it, with optional regex.
Paste text, type what to find and what to replace it with, and download the updated .txt. Optionally treat the find field as a regular expression and ignore case.
How it works
- Paste your text into the editor.
- Type the text to find and what to replace it with. Optionally enable regex or case-insensitive.
- Unlock the result and download the updated .txt file.
Use cases
- Bulk-rename a placeholder across a long template.
- Replace every old company name with a new one in a document.
- Delete every occurrence of a watermark line by replacing with empty.
- Use regex to strip every URL or email from a paste.
Frequently asked questions
How do I delete every match instead of replacing?
Leave the 'Replace with' field empty. Every match of your find pattern is then removed.
Does regex support backreferences?
Yes. The find field is a JavaScript regular expression when 'Use regex' is ticked, so groups and backreferences like $1 work in the replacement.
What if my regex is invalid?
We fall back to returning your original text unchanged rather than failing the job. Double-check the regex and try again.
Is there a pattern length limit?
Regex patterns are capped at 1000 characters to keep the job from hanging on pathological expressions.
How long is the result kept?
The updated .txt is auto-deleted after 7 days. Re-download is available during that window via the secure link.
Related tools
- Text Cleaner: Trim, dedupe, sort, case-convert, and find-replace any text in seconds.
- Remove Duplicate Lines: Paste a list and get a clean copy with every duplicate line removed.
- Sort Lines Alphabetically: Paste a list and download the same lines sorted A to Z or Z to A.