title: Strip tags from text in php
body: <p>I have some post_text, extracted from a phpbb database, but I only need some parts from it, all post_texts starts like this:</p>
  
  <pre><code>[centrar:fr5j2hqh][img:fr5j2hqh]http://pics.filmaffinity.com/Anna_Karenina-345500867-large.jpg[/img:fr5j2hqh][/centrar:fr5j2hqh]...........
  </code></pre>
  
  <p>I need to extract the url between the bbcodes (characters after centrar: and img: are different for the post_texts </p>
  
  <p>How can I do it in php?</p>