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.
我想做以下查找和替换:
// input 'key1': 1 'key2': 2 // output key1: 1 key2: 2
查找应该是这样'\w{1,}': 的模式替换为模式呢?
'\w{1,}':
这应该从键中删除引号:
寻找:'(.+)':
'(.+)':
代替:$1
$1