Text Tools
Find and Replace
Search for text or regex patterns and replace them instantly. Perfect for bulk text editing, code cleanup, and data transformation.
Usage notes
- Toggle 'Use Regex' for pattern-based replacements like removing all numbers: \d+
- Leave the replacement field empty to delete all matches.
- Case-insensitive mode is on by default — toggle it for exact matching.
Related pages
How to Use This Tool
- 1Paste your text into the input area.
- 2Enter the text or pattern to find.
- 3Enter the replacement text (leave empty to delete matches).
- 4Set options: case-sensitive, regex mode.
- 5Click Replace All and copy the result.
Frequently Asked Questions
- Does this support regular expressions?
- Yes. Toggle 'Use Regex' to use JavaScript regex patterns. This supports groups, lookaheads, quantifiers, and character classes.
- How do I delete all matches?
- Leave the 'Replace with' field empty. All matches will be removed from the text.
- Is the search case-sensitive by default?
- No. By default, the search is case-insensitive. Toggle 'Case Sensitive' if you need exact-case matching.
- Can I replace newlines?
- In regex mode, use \n to match newlines. For example, replace \n with a comma to join all lines.