cancel
Showing results for 
Search instead for 
Did you mean: 

What is the correct syntax for regular expression in Snaplogic

SL12345
New Contributor III

Hi snaplogic Experts,

what is the right syntax for regular expression

^([^;]*;){6}[^;]{7}\K.

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

1 REPLY 1

tlikarish
Employee
Employee

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.