14,953
edits
m (→快速查表) |
(+將行內空白,改成 Tab 鍵) |
||
| Line 237: | Line 237: | ||
參考資料: [http://stackoverflow.com/questions/8413237/notepad-regex-search-replace-how-to-append-and-prepend-a-character-at-start-a Notepad++ RegEx Search/Replace: How to append and prepend a character at start and end of each file line? - Stack Overflow] | 參考資料: [http://stackoverflow.com/questions/8413237/notepad-regex-search-replace-how-to-append-and-prepend-a-character-at-start-a Notepad++ RegEx Search/Replace: How to append and prepend a character at start and end of each file line? - Stack Overflow] | ||
=== 將行內一個或多個空白,取代成 Tab鍵 === | |||
將原本空白間隔的不同欄位值,取代成 Tab鍵。輸出結果可以方便貼到 MS Excel 或 Google spreadsheet。 | |||
<pre> | |||
apple 多個空白 orange 多個空白 banana | |||
-> | |||
apple Tab鍵 orange Tab鍵 banana | |||
</pre> | |||
# Find: {{code | code = <nowiki>([^\S\r\n]+)</nowiki>}} | |||
# Replace with: {{code | code = <nowiki>\t</nowiki>}} | |||
=== 知道前面跟後面的文字,但是中間文字忘記了 === | === 知道前面跟後面的文字,但是中間文字忘記了 === | ||