var str="frase
";
str=str.replace("
","a");