title: how extract word from text in php
body: <p>How can I extract word from text in php?
  or example, I have this string:
  <code>this is a long text string where it is written something</code></p>
  
  <p>I want obtain:</p>
  
  <pre><code>this
  is
  long
  text
  string
  where
  it 
  is written
  something
  </code></pre>