ecco qui:


<script>
function cambia(stringa){
stringa=stringa.replace("carattere1","carattere2") ;
ecc...
return stringa
}
</Script>