Find and Replace Text
Find, substitute, and bulk replace terms with support for regular expressions, case matching, and whole words.
100% In-Browser Privacy: This tool operates directly in your browser. None of your input text, documents, calculation values, or images are ever transmitted to or stored on our servers.
How to Use the Find and Replace Text
Paste your source document into the text area.
Type the target string or regex in the Find input and replacement text in the Replace input.
Configure Case Match, Whole Word, or Regular Expression toggles.
View replaced text and total occurrence count.
Worked Example & Demonstration
Visit http://old-domain.com for guides and http://old-domain.com/tools
Visit https://itemarketplus.com for guides and https://itemarketplus.com/tools
Technical Method & Underlying Formula
Uses standard RegExp with global flag (g) and escaped literal tokens when regex mode is disabled.
Operational Boundaries: Invalid regex syntax is caught safely and surfaced via inline error badge without breaking the interface.
Frequently Asked Questions
Can I use regex capture groups in replacements?
Yes. In regex mode, $1, $2, etc., are supported for capture group backreferences.
Related Text & Writing Tools
Count words, characters, sentences, paragraphs, and reading duration in real time as you type.
Analyze precise character counts, glyph count, whitespace breakdown, and social media character limits.
Transform text to UPPERCASE, lowercase, Title Case, camelCase, kebab-case, snake_case, and Sentence case.
Deduplicate lists, logs, and datasets with optional case-insensitivity, whitespace trimming, and line sorting.