Contact Free trial Login

Regex Filter

MuleSoft recommends against deployments to Mule 3.8. Standard Support for this version ended on November 16, 2018, and Mule 3.8 will reach its End of Life on November 16, 2021, when Extended Support ends.

Purpose: Matches string messages against a regular expression.

Minimum Configuration: The pattern string for the match.

Discussion: The RegEx Filter applies a regular expression pattern, such as a pattern that includes wildcards or other character substitution symbols, to the message payload. The filter applies the toString() method to the payload to convert the payload to a String. To ensure that the payload is a String, you might want to apply a Payload Filter to the message with a nested And Logic Filter.

Was this article helpful?

💙 Thanks for your feedback!

Edit on GitHub