What is the correct syntax for regular expression in Snaplogic

Hi snaplogic Experts,

what is the right syntax for regular expression


if i want to use it in replace function?
because this one:

$myString.replace(^([^;]*;){6}[^;]{7}\K., ‘’)

doesnt work

are there any escape characters or so?

Thank you

Take a look at the Java regex documentation as that is what is used.

If you need more help, then an example input and output along with the regex might make it easier for me to grok what you’re doing.

1 Like