>>55

$_ = 'abacadaeaf';
echo ereg_replace("a",,$_);

PHPなら普通こうするよ。