find_and_replace
Replace all occurrences of a search term in a LibreOffice document with new text, optionally using regular expressions for advanced matching.
Instructions
Replace all occurrences of search with replace. Returns {count}.
Set regex=true to treat search as a regular expression.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| regex | No | ||
| doc_id | Yes | ||
| search | Yes | ||
| replace | Yes |