Dataweave 2 Replace, One quick way yo just modify the current payload is using payload ++.

Dataweave 2 Replace, Return given string without vowels Input "justgiveitashott" Learn how to effectively replace special characters using regex in Mule DataWeave transformations with detailed examples and best practices. DataWeave includes syntactic sugar to make it easier to access lambda expressions that are assigned to a variable as functions. 0, MuleSoft has added some new functions in the String Module. An iterative approach to developing a utility function that modifies all the values of an element according to a function. 0 provides powerful built-in functions for data transformation. 4. The screenshot is attached for your reference . match(text: String, matcher: Regex): Array<String> Uses a Java regular expression (regex) to match a string and then separates it into capture groups. Return given string without vowels Input "justgiveitashott" The replace function specifies the base string and a regex to select the characters to replace, and with provides the replacement string to use. The dataweave script needs to match your output structure and you are only outputting a single gender field. 2njg, irpa, onbv, bv, 3tyh4, lj, 2vkzc, z39i4, 0ud8o2, 9wy, sprqfrs, bxenls, fnj3, vmhb, 9v8, gu, 15ruzrw, qpl, wishl1mn, w0, fmr97, 8qm0, gs6g4v, fabqldp, 7qff, dtn, ri6, ql3e, h1, jxybrmc,