title: How to extract all matches from a string using single regular expression in PHP?
body: <p>I want to insert all matched patterns into a single array using a regular expression in PHP.</p>
  
  <p>For example, I have following text:</p>
  
  <blockquote>
    <p>calculated F 1a5 5W13 153w135 1E55 12_5 1.56 1M55</p>
  </blockquote>
  
  <p>My php code is like this:</p>
  
  <pre><code>$txt="calculated 1a5 5W13 153w135 1E55 12_5 1.56 1M55";
  preg_match_all("/calculated F( ([\d\w_\.]+))+/s",$txt,$matches);
  print_r($matches);
  </code></pre>
  
  <p>I need somethings like as:</p>
  
  <pre><code>Array ( [0] =&gt;1a5, [1]=&gt; 5W13, [2]=&gt;  153w135, [3]=&gt;  1E55, [4]=&gt;  12_5, [5]=&gt;  1.56, [6]=&gt; 1M55)
  </code></pre>