title: Python REGEX How to extract particular numbers from variable
body: <p>I have the following problem:</p>
  
  <pre><code>var a = ' 15159970 (30.12.2015), 15615115 (01.01.1970), 11224455, 55441123
  </code></pre>
  
  <p>I'd like a regex to extract only the numbers: 15159970, 15615115, 11224455, 55441123</p>
  
  <p>What a have so far:</p>
  
  <pre><code>re.findall(r'(\d+\s)\(', a)
  </code></pre>
  
  <p>which only extracts the first 2 numbers: 15159970, 15615115</p>
  
  <p>Having also a second var b = 15159970, 15615115, 11224455, 55441126 I would like to compare the 2 vars and if they differ then a print("vars are different!")  </p>
  
  <p>Thanks!</p>