Remove blank line in Eclipse

前端 未结 7 1525
梦毁少年i
梦毁少年i 2021-01-30 01:45

How can I remove lines that only contain spaces when using Eclipse Find/Replace prompt. I checked the \"Regular Expression\" check box, and tried the following, neither of whic

7条回答
  •  醉梦人生
    2021-01-30 02:16

    This one worked for me for years:

    Replace this: [\t ]+$

    With nothing

    Hope this helps!

提交回复
热议问题