docx.replace_text
Replace text in DOCX documents using literal or regex matching, targeting the document, headers, footers, or all.
Instructions
Replace text in document
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| docId | Yes | Document ID | |
| match | Yes | Text to find | |
| where | No | ||
| replace | Yes | Replacement text |