supports input multiple ids separated by character '|'