删除Eclipse中的空行 [英] Remove blank line in Eclipse
本文介绍了删除Eclipse中的空行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在使用Eclipse Find / Replace提示时,删除仅包含空格的行。我检查了正则表达式复选框,并尝试了以下两种方法。
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 which worked.
^[:space:]*$
和
^\s*$
推荐答案
查找: ^ \s * \\\
替换为:(空)
这篇关于删除Eclipse中的空行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文