title: Splitting strings via regex by searching for numbers/characters
body: <p>How can I split this string...</p>
  
  <pre><code>Any-word 3, with comma 48, 50 -- 51, 527
  </code></pre>
  
  <p>...into <code>Any-word 3, with comma</code> and <code>48, 50 -- 51, 527</code>? The second part has always a number; optinal there are multiple numbers (like in this example) which can be separated by ',' and/or '--'. Also the second part doesn't have any words or letters (which makes the difference to the number 3 which is in the first part).</p>
  
  <p>I need to split the string to check if the second part has a match. And if this is the case, I just want to use the first match.</p>
  
  <p>Just some more string-examples:</p>
  
  <pre><code>Any-word 3, with comma 48, 50 -- 51, 527
  Anything 12
  --Some thing 30-- 51, 1
  123,
  89
  Just words
  </code></pre>
  
  <p>Should be splitted like:</p>
  
  <pre><code>Any-word 3, with comma|48, 50 -- 51, 527
  Anything|12
  --Some thing|30-- 51, 1
  |123,
  |89
  Just words|
  </code></pre>
  
  <p>Try to use...</p>
  
  <pre><code>preg_match($re, $str, $match);
  </code></pre>