title: Regular expression for a hexadecimal number?
body: <p>How do I create a regular expression that detects hexadecimal numbers in a text?</p>
  
  <p>For example, ‘0x0f4’, ‘0acdadecf822eeff32aca5830e438cb54aa722e3’, and ‘8BADF00D’.</p>