Sublime Regex 将下划线后的字符转换为大写,然后删除下划线
Sublime Regex convert character after underscore to uppercase and then remove underscore
我有以下代码,
"doctype": "Item_attribute_value_customer_name"
我希望能够将其转换为
"doctype": "Item Attribute Value Customer Name"
本质上,下划线后面的字符应该转换为大写,下划线必须替换为space。
谁能帮我写代码来实现这就是 Sublime。
_([a-z])
您可以找到它并替换为 \U
或 \U
。查看演示。
我有以下代码,
"doctype": "Item_attribute_value_customer_name"
我希望能够将其转换为
"doctype": "Item Attribute Value Customer Name"
本质上,下划线后面的字符应该转换为大写,下划线必须替换为space。
谁能帮我写代码来实现这就是 Sublime。
_([a-z])
您可以找到它并替换为 \U
或 \U
。查看演示。