Word: Replace

Find and replace first occurrence of text.

Help Centre › Building Processes

Find and replace first occurrence of text.

Runs on: macOS and Windows only.

Add it to a process

In the process designer, open the Add step tab. Find Replace under Word › Edit, or type its name in the search box, and drag it onto the canvas.

Fields

FieldRequiredWhat it does
File pathYesEnter the file path, or use a variable such as {folders::desktop::path}\file.txt.
FindYesThe text to search for in the document.
Replace withYesThe replacement text. Supports variables.

See all Word steps.

Errors

ErrorDescription
File not foundThe file does not exist
Text not foundThe search text was not found

Tips

  • Finds and replaces the first occurrence of text in the document

Related functions

Get started

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or have your first automation working in 7 days.