title: Regular expression: combining statments with or operator
body: <p>I need a regular expression which roughly combines the logic of</p>
  
  <p><strong>?[1-9][0-9]<em>+\s</em>+X|x</strong></p>
  
  <p>with</p>
  
  <p><strong>X|x+\s*+[1-9][0-9]*</strong></p>
  
  <p>Or in english: match a pattern of the letter X (capitalised or uncapitalised) preceded by an integer (single space optional) <strong>OR</strong> succeeded by an integer (single space optional)  </p>
  
  <p>Thanks.</p>
  
  <p>P.S. The two separate regex above are just for illustration; haven't actually tested them.</p>