Strip/Replacement steps
You can define one or more Strip/Replacement steps to apply to every record in the defined order. The output from one step is the input to the next step. After the last step, the record is written to the output file.
Record filter
The property Record filter expression is used to specify a record filter. If a regular expression is given the complete record, including the record separator, must match the regular expression. Otherwise, the record is not processed by this step. Note that the dotall mode is used: the expression "." matches any character including a line terminator. Use a blank value for no record filter.
Record max
The property Record max count to replace is used to limit the number of records to be processed by this step. For example, if you specify the value 1, this step is applied to max one record. Use a blank value for no limit.
Regular expression
The property Regular expression contains a regular expression for the substrings to be replaced in the record. The regular expression does not need to match the complete record. This property is mandatory.
Replacement string
The property Replacement string contains the replacement string that replaces each substring in the record that matches the given regular expression. Remember that the resulting record, normally, must end with a record separator. You can use escape sequences for string literals in the same way as when you hard code a string in Java.
See String literals.
If the regular expression matches the complete record, including the record separator, and an empty replacement string is given, the record is removed or stripped.