PHP : What is the best way to fetch string coming between some palceholder
<p>I wondering if somebody can help me</p>

<p>I have this code for getting some text between [reply]</p>

<pre><code>$msg    =   '&gt; **
&gt;   &lt;#1371620c479a4e98_&gt;  Chauffeure -Emails  driver_age:72
&gt; driver_nationality:IN
&gt; driver_languages:French,
&gt; driver_name:Rinto George
&gt; driver_mobilenumber:9747 161861
&gt; driver_email:rinto@example.com[reply]I am a principal yes , I know
&gt; you[reply]  Fragen oder Hilfe benotigt?
&gt; 089-38168530 Secure Transmission of Sensitive Data by SSL
&gt;';
</code></pre>

<p><strong>Used Code</strong></p>

<pre><code>preg_match_all("/\[reply](.*)\[reply]/", $msg, $reply); 
print_r($reply)
</code></pre>

<p>But it doesn't outputs my desired output</p>

<p><strong>Suggestion</strong> </p>

<p>If you could sort it out by using [reply]Reply here[/reply] would be better,as I am using [reply][reply] , not looking well formed</p>
