ok, i just tested this one, and it works 🙂
sorry, just ignore the last post..
//if the source is $string, then:
$string = "0 @I9L34-NT@ INDI 0 @I77L34-NT@ INDI";
while (ereg('0 @[A-Z0-9]{1,}-[A-Z]{1,}@ INDI', $string, $array)) {
$result .= substr($array[0], 3, -6);
$string = ereg_replace($array[0], '', $string);
}
echo $result;
exit();