Literal and regex rules
Use plain text matching by default, or switch to JavaScript regex mode when a pattern and capture-based replacement are needed.
Matches
0
Replaced
0
Before Chars
0
After Chars
0
Validation
Replaced text will appear here.
Replacement workflow
Use this find and replace text online tool when a copied block needs controlled edits before it goes into docs, tickets, CSV cleanup, code comments, snippets or content drafts. The page supports literal replacement, replace-first or replace-all scope, case-sensitive matching, whole-word matching, regex mode and multiple replacement pairs. Paste text, define one rule or a short rule list, review the match and replacement counts, then copy the output or download it as a UTF-8 TXT file.
Use plain text matching by default, or switch to JavaScript regex mode when a pattern and capture-based replacement are needed.
Replace only the first match or every match, then tune matching with case-sensitive and whole-word options.
Add multiple replacement pairs, remove pairs before running, inspect match and character counts, then copy or download the result.
Clean logs by replacing noisy IDs, hostnames, temporary paths or environment labels before sharing a focused example.
Update copied snippets, README drafts, release notes, QA steps, prompt templates and support replies without opening a full editor.
Normalize CSV/text exports by replacing separators, placeholder values or repeated labels while keeping surrounding rows intact.
Input: devbruh tools, Devbruh docs Find: devbruh Replace: devbruh.dev Scope: Replace all Whole word: on Case-sensitive: off
devbruh.dev tools, devbruh.dev docs
When multiple pairs are added, those pairs become the active rule list instead of the single Find Text and Replace With fields. Rules run in order against the current output, so an early replacement can affect what a later rule sees. Regex mode uses JavaScript regular expressions and supports numeric captures in replacement text.
This tool replaces matched text; it does not understand grammar, Markdown, HTML structure, programming language syntax or document layout. It is not a code refactoring tool and cannot safely rename symbols across a project.
Whole-word mode relies on JavaScript word boundaries, and regex mode follows JavaScript regular expression behavior. Broad patterns, duplicate rules, case-insensitive matches and replacement order can change text you did not intend to touch.
Replacement runs locally in your browser. Clipboard and TXT download actions use browser APIs, but sensitive logs, customer data, credentials and private documents should only be pasted into websites approved by your workflow.
It can replace literal text or regex matches in pasted content. You can replace the first match or all matches, enable case-sensitive matching, require whole-word matches, add multiple replacement pairs, then copy or download the result.
Replace all changes every match found for each active rule. Replace first changes only the first match for each rule, then leaves later matches unchanged.
Whole-word matching wraps the literal or regex pattern in word boundaries. That helps avoid matching inside longer words, but it still follows JavaScript regular expression boundary behavior and may need review for punctuation-heavy or non-English text.
Regex mode treats Find Text as a JavaScript regular expression. The page validates the pattern and lets replacement text use numeric capture references such as $1. Broad or incorrect regex rules can change unintended text.
Use Remove Lines Containing when the goal is to delete whole rows that match a word, phrase or pattern. Text Replacer is better when you want to keep the surrounding text and replace only matched parts.
Replacement runs in your browser with JavaScript. Clipboard copy, paste and TXT download use browser APIs. Avoid pasting secrets, private logs or customer data into any website unless your workflow allows it.