Remove empty lines in text using Visual Studio

后端 未结 11 1348
借酒劲吻你
借酒劲吻你 2020-12-12 08:36

How to remove empty lines in Visual Studio?

11条回答
  •  -上瘾入骨i
    2020-12-12 09:04

    I'm using visual studio 2017, non of the above worked for me until I tried \n\r

    Steps:

    1. Ctrl + H (opens find and replace)
    2. Select use regular expression (Alt + E)
    3. Enter \n\r into the "Find..." input
    4. Press replace

提交回复
热议问题