function img ($Data) { preg_match_all('~<img(.*?)src="(.*?)"(.*?)alt="(.*?)"~i', $Data, $Content); return $Content[2][1]; }