STOPATDESK YES;
:: TXT "LCLLMT:29.4700";
:: TXT "LCLCURR;NON-USD";
:: TXT "CALLBK:3";
:: TXT "FFTRL:EUR-LIM;-TAP-5";
STOPATDESK YES; :: TXT "LCLLMT:29.4700"; :: TXT "LCLCURR;NON-USD"; :: TXT "CALLBK:3"; :: TXT "FFTRL:EUR-LIM;-TAP-5";
Could you please provide regex that will match semicolons but not within TXT "..."?
There were several useful questions on StackOverflow but I failed to compile working solution for my case
Regex for matching a character, but not when it's enclosed in square bracket
Regex for matching a character, but not when it's enclosed in quotes
"TEXT\\s*\"[^\"]*\"|(;)"and grab.group(1).s.split("(?<!TXT \"[^\"]{0,1000});"). If theTXT "...are not longer than 1000 symbols long, that might work in this case. But I do not think a constrained witdth look-behind is that reliable.