title: Split camelCase word into words with php preg_match (Regular Expression)
body: <p>How would I go about splitting the word:</p>
  
  <pre><code>oneTwoThreeFour
  </code></pre>
  
  <p>into an array so that I can get:</p>
  
  <pre><code>one Two Three Four
  </code></pre>
  
  <p>with <code>preg_match</code> ?</p>
  
  <p>I tired this but it just gives the whole word</p>
  
  <pre><code>$words = preg_match("/[a-zA-Z]*(?:[a-z][a-zA-Z]*[A-Z]|[A-Z][a-zA-Z]*[a-z])[a-zA-Z]*\b/", $string, $matches)`;
  </code></pre>