title: c++ multiple regex extractions to an array
body: <p>I'm having to extract multiple values from a string within c++. I can do this fine in python, but unfortunately for me, this must be done in c++.</p>
  
  <p>If, for example I have the string below contained in 'blah', how do I run a multiple extraction regex against it and pass each numerical value into an array.
  I'm fine with the regex, just not the c++ syntax.</p>
  
  <p>std::string blah = "5001 | 5002 | 5003";</p>
  
  <p>Thank you</p>