Getting started Community Training Tutorials Documentation APIs, AI & Tools
%dw 2.0
output application/json
---
[ ("admin123" matches /a.*\d+/), ("admin123" matches /^b.+/) ]
This version of the product has reached End of Life.
Checks if an expression matches the entire input string.
For use cases where you need to output or conditionally process the matched value, see Pattern Matching in DataWeave.
| Name | Description |
|---|---|
|
The input string. |
|
A Java regular expression for matching characters in the string. |