Extraction of entities like ab-cd to ab(entity 1) and cd(entity 2)

I am in the situation here, where I want to extract entities from a word like ab-cd where ab is entity 1 and cd is entity 2. I only want this behavior with entities. Is it possible??


Can you elaborate the issue a bit more please with a real example not ab-cd.

hmm I have two entities, degree and program type. and that are written like BS-IT or BS-CS. I want to get both entities but donot want to change my tokenizer. Can you help in that @sandilya45?

can you use list slot @Talhag958 to extract BS and IT. You can the extract values seperately from the list. I think it will work