Re: Come è possibile sostituire quanto segue con una nuova riga con una sostituzione regolare nel JSL del software JMPDevi sfuggire [ e ] in regex (puoi anche usare Substitute/Substitute Into)
Names Default To Here(1);
txt = "a],[b";
t1 = Regex(txt, "\!],\!\[", "\!n", GLOBALREPLACE);
t2 = Substitute(txt, "],[", "\!N");
show(t1, t2);
https://www.jmp.com/support/help/en/17.0/index.shtml#page/jmp/jsl-syntax-rules.shtml
https://www.jmp.com/support/help/en/17.0/index.shtml#page/jmp/escaped-characters-in-regular-expressions.shtml
Come è possibile sostituire quanto segue con una nuova riga con una sostituzione regolare nel JSL del software JMP],[
Grazie!
t1=Regex(txt,"],[","\!n",globalreplace);//??
Automazione e scripting