(?<=((NSC):))(.+?)(?= ([\ |]) | ([\S;|])) With this correction the output was
140913;NSC
I’m trying something like 140913;NSC:141282
or preferably
140913141282
because then I could use split because the amount of numbers is always the same.
(?<=((NSC):))(.+?)(?= ([\ |]) | ([\S;|])) With this correction the output was
140913;NSC
I’m trying something like 140913;NSC:141282
or preferably
140913141282
because then I could use split because the amount of numbers is always the same.