How do I replace a newline in Atom?

前端 未结 5 1951
滥情空心
滥情空心 2021-01-31 03:07

In Atom, If I activate regex mode on the search-and-replace tool, it can find newlines as \\n, but when I try to replace them, they\'re still there.

Is th

5条回答
  •  耶瑟儿~
    2021-01-31 03:18

    It's alittle bit late to answer but i use following term to search and it works with Atom v1.19.7 x64

    \r?\n|\r
    

    BR

提交回复
热议问题