导航

Notepad++技巧几则

Posted on 2011-06-10 16:33  鹤唳九天  阅读(438)  评论(0编辑  收藏  举报

Notepad++技巧几则

删除文本中的空格
Select all the text you want to remove the white space chars and click ‘Cntrl+H’, type space in the find field and leave the Replace field blank. Click ‘Replace all’ to remove all the spaces in the text file.
选中想删除空格的文本,按“Ctrl+H”,在find what后输入空格,在Replace with处不输入任何东西。然后点击“Replace all"

删除行的首个单词/空格/行号
TextFX > TextFX Tools > Delete Line Numbers or First word


删除空行
TextFX > TextFX Edit > Delete Blank Lines
TextFX > TextFX Edit > Delete Surplus Blank Lines

大小写转换

TextFX > TextFX Characters, the following options are available

UPPER CASE
lower case
Proper Case
Sentense case.
iNVERT cASE


以下为一些个人经验

TextFX > TextFX Edit > Unwrap Text    --->把选中的文本变成一行,以空格分隔。

Alter+C 按列插入。