Getting started Community Training Tutorials Documentation APIs, AI & Tools
%dw 2.0
import * from dw::util::Coercions
output application/dw
---
{
toRegexEx1: toRegex("a-Z"),
toRegexEx2: toRegex("0-9+")
}
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.
Transforms a String value into a Regex value.
Introduced in DataWeave version 2.4.0.