title: php: split string until first occurance of a number
body: <p>i have string like</p>
  
  <pre><code>cream 100G
  sup 5mg Children
  </code></pre>
  
  <p>i want to split it before the first occurrence of a digit. so the result should be</p>
  
  <pre><code>array(
      array('cream','100G'),
      array('sup','5mg Children')
  );
  </code></pre>
  
  <p>can so one tell me how to create pattern for this ?</p>
  
  <p>i tried</p>
  
  <pre><code>list($before, $after) = array_filter(array_map('trim',
              preg_split('/\b(\d+)\b/', $t-&gt;formula)), 'strlen');
  </code></pre>
  
  <p>but something went wrong.</p>