Getting started Community Training Tutorials Documentation APIs, AI & Tools
%dw 2.0
output application/json
---
[ ("admin123" matches /a.*\d+/), ("admin123" matches /^b.+/) ]
You're viewing an older version of the documentation. You can switch to the latest version or use the version selector in the left navigation.
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. |