ho risolto così
$_=$stringa;
s/ciao//ig;
print ;
se non è giusto ditemelo

thanks