";$pattern = "/]*src=[\'\"]?([^>\'\"]+[^>\'\"]+)[\'\"]?[^>]*>/i";preg_match_all($pattern, $contents, $matchs);print_r($matchs);