That's an interesting use case. The only way I know to accomplish this is to use parameters for each number in the string. See the attached example. You can write calculations like this for each number to test if the coresponding number matches what is entered in the parameter.
[Number 2] = "Any" or mid(str([Order ID - Split 3]), 2,1) = [Number 2]
Hope this helps!
number Matching.twbx 2.4 MB
Did the answer above solve your question?