Get All Strings between tags and echo them?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/1445506/get-content-between-two-strings-php">Get content between two strings PHP</a>  </p>
</blockquote>



<p>Ok, here is my delima:</p>

<p>here is an example of my $content :</p>

<pre><code>&lt;!--nextpage--&gt;First Title Here&lt;!--nexttitle--&gt;

some more text here

and here and here and here

a little more here!

&lt;!--nextpage--&gt;Second Title Here&lt;!--nexttitle--&gt;

some more text here

and here and here and here

a little more here!

&lt;!--nextpage--&gt;Third Title Here&lt;!--nexttitle--&gt;

some more text here

and here and here and here

a little more here!
</code></pre>

<p>How could I run a function that finds all "get_all_strings_between()" and echo them at the top of the $content:</p>

<pre><code>**First Title Here** / **Second Title Here** / **Third Title Here**

and then my content HERE!
</code></pre>

<p>THanks!!</p>
