title: Regular expression to match an arbitrary length string of numbers, which may or may not be preceded by 0x
body: <p>I was wondering if you could help me formulate a regular expression to match the following pattern?</p>
  
  <p>Any arbitrary length string of numbers, which may or may not be preceded by 0x.</p>