title: combine two different regex patterns
body: <p>I'm using curl to extract data from a website and i want to get content of a specific <code>&lt;span&gt;</code>. it worked perfectly with</p>
  
  <pre><code>$pattern4 = '/&lt;span class=\"_c1 ei_card_subtitle _c1\"&gt;(.*?)&lt;\/span&gt;/i';
  $cc = preg_match_all($pattern4, $ccpage, $matches);
  
  print_r($matches[1][0]);`
  </code></pre>
  
  <p>This return : <code>some text - digits</code>, in the original website they're separated by <code>&lt;br /&gt;</code> i already have a pattern to only match the digits </p>
  
  <p><code>$pattern5 = "\s\d+\s(?=\-)"</code></p>
  
  <p>but i don't know how to combine them to get only the digits from that specific</p>
  
  <p><code>&lt;span class="_c1 ei_card_subtitle _c1"&gt;</code></p>