UiPath Activities

The UiPath Activities Guide

Replace Text


Replaces all occurrences of a string within a document with another string. Can only be used in the Word Application Scope activity.



  • Search - The text to be replaced. Only String variables and strings are supported.
  • Replace - The text to replace with. Only String variables and strings are supported.


  • Found - A boolean variable that indicates whether the text to be replaced was found or not.


  • DisplayName - The display name of the activity.


  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.

Updated about a year ago

Replace Text

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.