Restricting numbers

Hi,

I would like to restrict user input to numbers only between letters.
for example: the user is allowed to input “a2b”, but “2ab” or “ab2” isn’t allowed.
Any ideas?