(poniewaz jest jeszcze pare innych wyglądów

Cytat
<a href="profile.php?id=43129"><span style="color: rgb(255, 0, 0);">jakisusername</span></a>
chcialbym wyciągnąć wszystkie id uzytkowników z tąd >
Kod
<a href="profile.php?id=43129">
jak to zrobić ?
probowalem juz wiele metod
np.
Kod
preg_match_all('!<a href="profile.php?id=(.*)">!is', $site, $users);
preg_match_all('!<a href="profile.php?id=(.*?)">!is', $site, $users);
preg_match_all('!<a href="profile.php?id=(.+?)">!is', $site, $users);
preg_match_all('!<a href="profile.php?id=(.*?)">!is', $site, $users);
preg_match_all('!<a href="profile.php?id=(.+?)">!is', $site, $users);
proszę o pomoc