redact_text
Replace text matching a pattern in your document with a customizable placeholder. Optionally use regular expressions for advanced matching.
Instructions
Redact text matching pattern throughout the document.
Args: pattern: Text or regex pattern to find replacement: Replacement text (default: [REDACTED]) use_regex: Whether to use regex matching
Returns: Count of redactions or error message
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | Yes | ||
| use_regex | No | ||
| replacement | No | [REDACTED] |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |