Editing
Regular replace blank lines
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== 資料狀況2 == <pre> " abc " // 不是空白行 "" // 空白行 (2): 行內不包含任何字元 </pre> 預期目標 * 刪除空白行 (2) 使用工具: 適用 Sublime Text on {{Mac}},需勾選「使用規則運算式」。 {{exclaim}} 語法不適用 Notepad++ 軟體 * 尋找: {{kbd | key=<nowiki>^$\n</nowiki>}} --> 取代為: 空 (不需要輸入任何字) * 尋找: {{kbd | key=<nowiki>\n\n+</nowiki>}} --> 取代為: {{kbd | key=<nowiki>\n</nowiki>}} 使用工具: EmEditor on {{Win}},需勾選「規則運算式」 * 尋找: {{kbd | key=<nowiki>^$\r\n</nowiki>}} --> 取代為: 空 (不需要輸入任何字) 使用工具: Notepad++ on {{Win}},需勾選「用類型表式」 * 尋找: {{kbd | key=<nowiki>\r\n[\r\n]*</nowiki>}} 或 {{kbd | key=<nowiki>\r\n[\r\n]+</nowiki>}} --> 取代為: {{kbd | key=<nowiki>\r\n</nowiki>}} 使用工具: UltraEdit ''un-verified'' * [http://www.ultraedit.com/support/tutorials_power_tips/ultraedit/remove_blank_lines.html Use regular expressions to remove blank lines in a text file]
Summary:
Please note that all contributions to LemonWiki共筆 are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
LemonWiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Current events
Recent changes
Random page
Help
Categories
Tools
What links here
Related changes
Special pages
Page information