小编Neh*_*ari的帖子

使用正则表达式在 Notepad++ 中用引号包围字符串

我在记事本++中有以下文本行

Type, Layer, Env, key, action, timestamp, performedBy, desc, 
Run Code Online (Sandbox Code Playgroud)

我想把它转换成

'Type', 'Layer', 'Env', 'key', 'action', 'timestamp', 'performedBy', 'desc', 
Run Code Online (Sandbox Code Playgroud)

我写在 find [a-zA-Z]*,它给了我每个逗号分隔的字符串,我应该在 replace 中输入什么来让它们用引号括起来?

regex notepad++

4
推荐指数
1
解决办法
3409
查看次数

标签 统计

notepad++ ×1

regex ×1