function ReplaceEnters(texto) { texto = texto.replace(/<br>/g, String.fromCharCode(13)); return texto; }