Regular Expression (RegEx) Processor – Runs a set of regular expression (RegEx) replacements on incoming data.
The eiConsole and eiPlatform include Regular Expression Processors that can be used to search for particular terms in a data stream and replace them with other terms. This can be particularly useful when escaping or un-escaping certain sequences of characters. As with all the components of the eiConsole the user is presented with a graphical interface with easy to configure panels.
Select the Processor Configuration tab and click on Add Processor.
Select the Regular Expression (RegEx) Processor from the drop down.
The Basic tab that will allow you to provide a regular expression and the value that should be used to replace it. As many terms and replacements as you’d like can be added to the grid.
The Encoding: the encoding to use for the Regular Expression input; set to ISO-8859-1 for most other cases.
The Test RegEx button opens a dialog to test RegEx replacement.
In the Conditional Execution tab you can set additional processor execution conditions. The Transaction data dependent condition may be specified here as enhanced expression. If this expression returns anything other than TRUE (ignore case) – this processor will be skipped. No additional configuration for this Processor is required.