Answer: x in [0-9A-Fa-f]
Explanation:
Depends upon syntax of your programming language, but you will write either a string comparison or a regex with the character set defined as above
9.5m questions
12.2m answers