This adapter searches an input text document for a pattern specified in a regular expression (Regex) and outputs an XML document containing an XML element for each matching line.
Properties
|
Operation |
Determines which operation the adapter executes Possible values: |
Parameters
|
Adapter |
Main class of the adapter (do not change!) Possible values: |
|
pattern |
Regex pattern being searched for (regular expression) Possible values: Any regular expression (e.g. |
Status values
|
|
The operation was executed successfully. |
|
|
The operation failed due to a technical error. |
Output
This adapter outputs a UTF-8 encoded XML document with the following structure. For each matching line, an XML element <Line/> is created that contains the line number and the content of the respective line:
<Text>
<Line lineNo="Zeilennummer">Inhalt der Zeile</Line>
</Text>