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
3.6m questions
4.7m answers