PHP 正規表現でimgタグのsrcを取得

$output = preg_match_all('/<img.*?src\s*=\s*[\"|\'](.*?)[\"|\'].*?>/i', [HTMLタグの文字列], $matches);
$img_src = $matches [1] [0];