Hi Albert. thanks for your reply. My example with just 2 domains was merely for illustration. I do indeed need wildcards. I know that if the set of possibilities is finite and known in advance I could just enumerate all the possibilities. Regards