使用 notepad++ 时我只想删除位于几个双引号之间的所有逗号:
这是我的源字符串:
0.00,0.00%,"1,926.10","2,873.68","2,365.13",14.29%
我想获得:
0.00,0.00%,"1926.10","2873.68","2365.13",14.29%
如何用 notepad++ 实现这一点?
谢谢
答案1
答案2
我只想删除位于两个双引号之间的所有逗号
菜单“搜索”>“替换”(或Ctrl+ H)
将“查找内容”设置为
(\".*?),(.*?\")
将“替换为”设置为
\1\2
启用“正则表达式”
启用“.匹配换行符”
点击“全部替换”
前:
0.00,0.00%,"1,926.10","2,873.68","2,365.13",14.29%
后:
0.00,0.00%,"1926.10","2873.68","2365.13",14.29%