Validate whether the given string is hex.
Valid hex consists of an even number of characters 'a-f, A-F, or 0-9`. This is case-insensitive.
,
, or
The presence of the common prefix 0x will make the input be considered invalid (because of the x`).
0x
Validate whether the given string is hex.
Valid hex consists of an even number of characters 'a-f
,A-F, or0-9`. This is case-insensitive.The presence of the common prefix
0xwill make the input be considered invalid (because of thex`).