Hallo Andreas.
Ich hab hier mal einen Lösungsansatz gebastelt:
function voll($matches) {
$temp = $matches[1];
for ($i=0;$i<strlen($matches[2]);$i++) $temp += " ";
return $temp;
}
preg_replace_callback("/(blabla)( +) /","voll","blabla ");
Ist nicht wirklich schön, funktioniert aber.
MfG _Siro.