Extract part of the string from variable

Hello All,

In one of the scenario through regex I am capturing a value as


“Hello” variable returns as ![CDATA[PRA8D8]], but I need to get only PRA8D8.

If i put my left boundary as <XXX_XYZ><![CDATA[ and right boundary as ]]></abc_yyy><lmn , then it fails to capture anything and regex fails. How can I trim the string?


Use transform and then perform required string operations before saving

Implement a correct regex to extract the data you want.
Read about Java patterns: https://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html
In particular, square braces are special characters, so they need to be escaped.

Thanks…got it done