# Replace Text in Word Document Source: [https://docs.virtosoftware.com/docs/virto-workflow-automation-web-part/virto-sharepoint-workflow-activities-kit-sharepoint-2010-workflow-platform/doc-library-activities/replace-text-in-word-document/](https://docs.virtosoftware.com/docs/virto-workflow-automation-web-part/virto-sharepoint-workflow-activities-kit-sharepoint-2010-workflow-platform/doc-library-activities/replace-text-in-word-document/) Product: Virto Workflow Automation Updated: 2026-11-12 This activity replaces text in a Word document stored in a SharePoint library. In SharePoint Designer, this action is in the **Virto - Office actions** category. ## **SharePoint Workflow Designer Phrase** Replace **all occurrencies** of **this text** in **this document** with **this text**, match case: **no**. ## **Parameters** | Parameter | Description | |---|---| | all occurrencies | Which occurrences to replace: **all occurrencies**, **first occurrence** or **last occurrence**. | | this text | The text to be replaced. | | this document | The Word document in a document library. | | this text | New text. | | no | Match case: **yes** makes the search case sensitive. Default is **no**. |