How to break lines at a specific character in Notepad++?

前端 未结 6 1657
[愿得一人]
[愿得一人] 2021-01-29 20:44

I have a text file containing text like:

[\'22APR2012 23:10\', \'23APR2012 07:10\', 1, 3, 0], [\'22APR2012 23:10\', \'23APR2012 07:20\', 1, 3, 0], [\'22APR2012 2         


        
6条回答
  •  孤城傲影
    2021-01-29 21:32

    1. Click Ctrl + h or Search -> Replace on the top menu
    2. Under the Search Mode group, select Regular expression
    3. In the Find what text field, type ],\s*
    4. In the Replace with text field, type ],\n
    5. Click Replace All

提交回复
热议问题