Last updated: 2018-11-24

RegEx on Message Context

RegEx on Message Context is a built in Expression Type that extracts a value from a message context property by it's name and extracts data using the provided regular expression.

  • Find the part in a string that you are interested in
    • For example file name from full path
    • Order id part in a long string

Manage

In this section you will learn how to extract data using RegEx on Message Context

Tip see RegEx for examples how to write Regular expressions Link to RegEx examples

([^\\]+$)

Test Expression

  1. Select the RegEx on Message Context plugin
  2. Provide the RegEx
  3. From the Context Properties tab, select the Context property

Data will be extracted automatically on change on any of the above

Test Expression


Next Step

Expression Types
Flat File Fixed Width
Message Context Key
RegEx
XPath