separate strings based on arbitrarily long list of tokens