8.7

Table Of Contents
Check the option Use as step description to display the text next to the icon of the plugin in
the Process area.
Advanced Search and Replace
Advanced Search and Replace action tasks are used to locate and replace strings of data
within the job file and to replace them with other strings of data. Contrary to Search and
Replace action tasks, they allow the use of regular expressions.
Using regular expressions, it is possible to search for patterns rather than specific strings. For
instance, a pattern can be specified to find all valid email addresses or phone numbers within
the data stream.
Input
Any text-based file can be used in this task, even formats that are not directly compatible with
PlanetPress Workflow. As long as the text is visible in a text-based editor (such as Notepad), it
is readable and supported by this task.
Processing
The appropriate changes are made to the data file (replacing text).
Output
The modified data file is output from this task. Metadata is not modified in any way if it is
present.
Task Properties
General tab
l
Search mode group:Select your chosen search mode within this group.
l
Search line by line: Select if you want each line in the data stream to be searched
separately. When this option is selected, PlanetPress Workflow considers each line
as an individual data stream (lines are separated by Line Feed characters). It
minimizes memory requirements but may also limit hits, since lines are considered
separately. Note that it is not possible to use search expressions that specify
multiple data lines when this option is selected.
Page 271