I'm trying to find a regex that will check for a valid mask. The mask can contain as many * as it would like but it has to be followed by only 4 numbers. For example I would like these to pass:
********1234
******1234
and these to fail:
********123
********12345
******12*34
******1234*
Thanks for your help.