Regular expression: Difference between revisions

Jump to navigation Jump to search
m
Line 319: Line 319:
</pre>
</pre>


使用  Sublime Text 軟體
使用  Sublime Text 軟體 (參考資料<ref>[http://www.techrepublic.com/blog/microsoft-office/quickly-replace-multiple-space-characters-with-a-tab-character/ Quickly replace multiple space characters with a tab character - TechRepublic]</ref> <ref>[http://stackoverflow.com/questions/3469080/match-whitespace-but-not-newlines-perl regex - Match whitespace but not newlines (Perl) - Stack Overflow]</ref>)
# Menu: Search -> Replace
# Menu: Search -> Replace
# click "Use Regular Expression"
# click "Use Regular Expression"
Line 325: Line 325:
## Replace with: {{kbd | key = <nowiki>\t</nowiki>}}
## Replace with: {{kbd | key = <nowiki>\t</nowiki>}}
# click "Replace all"
# click "Replace all"
參考資料: [http://www.techrepublic.com/blog/microsoft-office/quickly-replace-multiple-space-characters-with-a-tab-character/] [http://stackoverflow.com/questions/3469080/match-whitespace-but-not-newlines-perl]


== Search unmatched string ==
== Search unmatched string ==

Navigation menu