7.0

Table Of Contents
considered separately. Note that it is not possible to use search expressions that specify multiple data lines
when this option is selected.
Search whole file: Select if you want the entire data stream to be searched as if it were a single string of
text. When this option is selected, PlanetPress Watch/Server loads the entire file in memory. It offers more
flexibility, since search expressions may span across multiple lines and may result in more successful hits.
Note that since this option uses more memory, it may affect performance.
String to search: Enter your search string or regular expression in this variable property box. To enter
multiple strings or expressions, press Enter after each one (note that only one string can be entered in the
Replace with box).
Treat as regular expression: Select to specify that the string or strings entered above are to be interpreted
as regular expressions rather than ordinary text strings. This option disables all position options (see the
Position options group below), since the position information can be included in the regular expression
statement, as well as the Whole words only option.
Search options group
Case sensitive: Select to force the plugin to match the character casing of the search string above with the
characters found in the file. If this option is selected, “DAY” and “Day” will not be considered as matching the
search string “day”.
Whole word only: Select force the plugin to search only for strings that match the search string from
beginning to end (cannot be used with regular expressions). If this option is selected, “DAY” and “DAYS” will
not be considered as matching strings.
Position options group
Specify the location where the string must be found using this group. Note that this whole group is disabled
when the Treat as regular expression option is selected.
Anywhere on the line: Select to indicate that the search string can be anywhere on the line.
At the beginning of a line: Select to indicate that the search string must be the first string on the line.
At the end of a line: Select to indicate that the search string must be the last string on the line.
At column: Select to indicate that the search string must be in a specific column. Specify the column number
(the value must be greater then 0) in the box below. Note
that this is a variable property box.
Between specific words: Select to indicate that the search string must be between specific words. Specify
these words in the Words before and Words after boxes below. This option can be useful to locate information
found between tags, such as HTML or XML tags. Note that these are variable property boxes.
Occurrence related: Select to indicate that the search string must be found a specific number of times
before a string replacement is performed. If the Search line by line option is selected in the Search mode
group, the search counter is reset for every line. If the Search whole file option is selected in the Search mode
group, the search counter is not reset before the end of the file. Select one of the occurrence options
(described below) in the list box below and enter a value in the variable property box besides it.
At occurrence: The replacement will take place only when the specified number of occurrences has been
reached. Specifying 2 occurrences, for instance, means that only the second occurrence will be replaced.
At every specified occurrence: The replacement will take place every time the specified number of
occurrences is reached. Specifying 2 occurrences, for instance, means that the second, the fourth and
the sixth (and so on) occurrence will be replaced.
All after occurrence: All occurrences of the search string will be replaced once the specified number of
occurrences has been reached. Specifying 2 occurrences, for instance, means that all occurrences after
the second one will be replaced.
Action Tasks - Detailed Directions
Objectif Lune Inc. © 2009 160