14,953
edits
(→快速查表) |
(→移除空白行) |
||
| Line 273: | Line 273: | ||
=== 移除空白行 === | === 移除空白行 === | ||
移除一行空白或多行空白( | 移除一行空白或多行空白(含空白字元、定位鍵{{kbd | key= TAB}}) | ||
* 尋找: {{kbd | key=<nowiki>^[\s\t]*$\n</nowiki>}} --> 取代為: 空白 (適用 Sublime Text 與 EmEditor 軟體, {{exclaim}} 不適用 Notepad++ 軟體)<ref>[http://www.sitepoint.com/forums/showthread.php?448843-Regex-delete-multiple-blank-lines Regex: delete multiple blank lines]</ref> | * 尋找: {{kbd | key=<nowiki>^[\s\t]*$\n</nowiki>}} --> 取代為: 空白 (適用 Sublime Text 與 EmEditor 軟體, {{exclaim}} 不適用 Notepad++ 軟體)<ref>[http://www.sitepoint.com/forums/showthread.php?448843-Regex-delete-multiple-blank-lines Regex: delete multiple blank lines]</ref> | ||
* Notepad++ 軟體選單: 編輯 -> 行列 -> 移除空行(含空白字元)<ref>[http://stackoverflow.com/questions/3866034/removing-empty-lines-in-notepad regex - Removing empty lines in Notepad++ - Stack Overflow]</ref> | * Notepad++ 軟體選單: 編輯 -> 行列 -> 移除空行(含空白字元)<ref>[http://stackoverflow.com/questions/3866034/removing-empty-lines-in-notepad regex - Removing empty lines in Notepad++ - Stack Overflow]</ref> | ||