Om din data ser exakt likadan ut som ditt exempel förutom title-taggarna så borde detta fungera.
Kod:
<?php
$str= '<a href="/xxx" title="xxxx">12312</a> - <a href="exempellänk.php" title="Länk 1 title">haha, jasså?</a>, liten kommentar.
<a href="/xxx" title="xxxx">12312</a> - <a href="exemp_ellnk.php" title="Länk 2 title">absolut sant</a>.
<a href="/xxx">12312</a> - <a href="exempellänk.php" title="Länk 3 title">haha, jasså?</a>, liten kommentar.
<a href="/xxx" title="xxxx">12312</a> - <a href="exemp_ellnk.php">absolut sant</a>.';
preg_match_all("/ - <a(.*?) title=\"(.*?)\"/",$str,$matches);
print_r($matches);
?>
Retunerar:
Kod:
...
* *[2] => Array
* * * *(
* * * * * *[0] => Länk 1 title
* * * * * *[1] => Länk 2 title
* * * * * *[2] => Länk 3 title
* * * *)
)