title: PHP regex to search in the exact given pattern
body: <p>i want to give regex a pattern and force it to read it all .. </p>
  
  <p><code>http://example.com/w/2/1/x/some-12345_x.png</code></p>
  
  <p>i want to target "some-12345_x"<br>
  i used this <code>/\/(.*).png/</code>, it doesnt work for some reason</p>
  
  <p>how do i force it to remember it must start with / and end with .png?</p>