📝

Text Replacer

Perform advanced find and replace operations using multiple rules with conditional options like regex and case sensitivity.

text

Source Text

Replacement Rules

Output Text

About Conditional Text Replacer

This tool allows you to perform advanced find and replace operations on text based on multiple, conditional rules. Define a series of rules, each with a 'Find' pattern, a 'Replace With' string, and options for case sensitivity and regular expressions. The rules are applied sequentially, transforming your text step-by-step.

Features:

  • Define multiple find-and-replace rules.
  • Toggle case sensitivity for each rule.
  • Use standard string matching or powerful Regular Expressions.
  • Rules are applied in the order they are defined.
  • Clear and copy options for easy workflow.
  • Real-time error feedback for invalid regular expressions.

How to use:

  1. Paste or type your source text into the "Source Text" area.
  2. Click "+ Add Rule" to create a new replacement rule.
  3. For each rule:
    • Enter the text or regex to "Find".
    • Enter the text to "Replace With".
    • Check "Case Sensitive" if you want the 'Find' pattern to match case exactly.
    • Check "Regex" if your 'Find' pattern is a Regular Expression.
  4. Arrange rules by dragging them (feature not implemented in this basic example, but good future enhancement).
  5. Click "Apply Replacements" to process your text.
  6. The modified text will appear in the "Output Text" area.
  7. Click "Copy" to save the output to your clipboard.