Maybe this
or one of the other threads mentioned in that thread. Haven’t tested this in recent years; no time to do so now; but the code looks like it should be ok.
Also, if you happen to own Tinderbox, it does well with exploding text at delimiters.