dovresti postare nel forum Javascript
cmq

function filtro(value){
valore = valore.replace(/[^a-zàèéìòùA-Z0-9.]/g," ");

return valore;
}