Regular Expression Help (PHP)?

  • Thread starter Thread starter Corbin S
  • Start date Start date
C

Corbin S

Guest
I want to find the second image down on a page, this code only finds the first, can you help?

if(preg_match('/(href|src|url)=([\'"`]?)([^\'">\s`]+)/i',$raw_html,$matches)) {
$location_raw = $matches[3];
 
Back
Top