]+src=[\'"](.*?)[\'"][^>]+>/i', rawurldecode($img), $matches); if ($match) { return $matches[1]; } return ''; } }