Previous Topic

Next Topic

Book Contents

Book Index

Find Or Replace

"Find Or Replace" Finds (i.e., counts) or replaces particular words or phrases in files. It can also handle special characters such as tabs and line feeds.

Input Parameters

Output Parameters

Special Characters

FindOrReplace can handle special character operations such replacing all tabs with three spaces or stripping carriage returns from a file. To work with special characters, you must represent them using special character "macros" in your FindOrReplace_Find or FindOrReplace_Replace parameters as appropriate.

The following special character macros are supported.

For example, to:

Notes

Please only use the replace operation this against text files as replacing text in a binary file could have unforeseen consequences.

This built-in script may only be run per-file. This built-in script may not be run as the first step of a task.

Example #1

Ed would like email listing how many times the word "- PAGE" appears in files that pass through MOVEit Central.

To perform this operation with MOVEit Central, Ed should...

  1. Create a new task with a source, process, destination, schedule and next action.
  2. Select "Find Or Replace" as his process
  3. Set process parameters:
  4. Configure his next action to:

Example #2

Jane would like to replace all instances of "bubbler" with "drinking fountain" in files that pass through MOVEit Central.

To perform this operation with MOVEit Central, Jane should...

  1. Create a new task with a source, process, destination and schedule.
  2. Select "Find Or Replace" as her process
  3. Set process parameters: