试过很多.replace("////n","")和.replaceAll,还试过替换\为\,被折磨了一上午
试试.replace('\n','').replace('\r','')
/在替换时不需要转译吗?