title: php: how to find numbers in string?
body: <p>I have some strings like:</p>
  
  <pre><code>some words 1-25 to some words 26-50
  more words 1-10
  words text and words 30-100
  </code></pre>
  
  <p>how can I find and get from string all of the "1-25" and the "26-50" and more </p>