A little php help with this string formatting <p>I have a string in this format:</p> <pre><code> /SV/temp_images/766321929_2.jpg </code></pre> <p>Is there any small piece of code to get the numbers BEFORE the underscore, BUT AFTER temp_images/? In this case I want to get <strong>766321929</strong> only... ?</p> <p>Thanks</p>