title: php - replace string occurrences
body: <p>I have a string <code>"First line  | second line | third line"</code>
  How can I replace <code>|</code> with a  <code>new line</code> character?</p>
  
  <p>I'm trying to use <code>preg_replace</code> but with no liuck</p>