How find string after special character with preg_match : <p>i have string on the variable and question is how find any character after <code>search/node/</code> and print that ?</p>

<p>String:</p>

<pre><code>$var="search/node/Apartman";
</code></pre>

<p>my Codes :</p>

<pre><code>$var="search/node/Apartment";    //URL

preg_match('/search/node/\K\d+/', $var,$newvar);

$FinalVAR=$newvar[0];

print_r ($FinalVAR);
</code></pre>

<p>BUT NOT WORK</p>

<p>THANKS FOR ANY HELP.</p>
