Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在一个文本文件中有一堆标签(例如我的标签:),我需要制作标题大小写。
我已经知道如何将它们全部设为小写或大写。
例如:
^([A-Z &#]+:)至\L$1
^([A-Z &#]+:)
\L$1
但是,是否有一种简单的基于开关的方法来获取标题大小写?
寻找:([A-Z])([A-Z]+)\b
([A-Z])([A-Z]+)\b
代替:$1\L$2
$1\L$2
确保打开区分大小写 (Alt + C) 并关闭保留大小写 (Alt + A)。
您是否尝试过内置的 Sublime Text?Edit -> Convert Case -> Title Case.
Edit -> Convert Case -> Title Case.