Doesn't sound possible to design it to me either. While you could build one, the impossible part might be deciding how many optional characters to allow for, plus how would the user know that the n, x and y positions are not optional? You can build the input mask in code, so if you can identify the condition you could build the string in a Select Case block? The InputMask property belongs to the textbox control. I've never done this though.
The more we hear silence, the more we begin to think about our value in this universe.
Paraphrase of Professor Brian Cox.