Limit the character type in a INPUT

Hello,
I would like that the user enter in the INPUT of a form, only characters in A…Z and 0…9 but he could not enter other charatcters ;:-…
Thank you,