preg_match_all("/<img.*src\s*=\s*[\"|\']?\s*([^>\"\'\s*]*)/i", $str, $arr);