如何在 Sublime 中替换两个字符之间的字符串

How to replace string between two characters in Sublime

如何在 Sublime 中替换多行逗号和斜杠之间的字符串?例如另一个数字

[0,16,0/1168*100],   [1,16,0/1168*100],
[0,16,0/1168*100],   [1,16,0/1168*100],
[0,16,0/1168*100],   [1,16,0/1168*100],
[0,16,0/1168*100],   [1,16,0/1168*100],
[0,16,0/1168*100],   [1,16,0/1168*100],
[0,16,0/1168*100],   [1,16,0/1168*100],
[0,16,0/1168*100],   [1,16,0/1168*100],
[0,16,0/1168*100],   [1,16,0/1168*100],
[0,16,0/1168*100],   [1,16,0/1168*100],
[0,16,0/1168*100],   [1,16,0/1168*100],
[0,16,0/1168*100],   [1,16,0/1168*100]

结果

[0,8/1168*100],8/1168*100],
[0,8/1168*100],8/1168*100],
[0,8/1168*100],8/1168*100],
[0,8/1168*100],8/1168*100],
[0,8/1168*100],8/1168*100],
[0,8/1168*100],8/1168*100],
[0,8/1168*100],8/1168*100],
[0,8/1168*100],8/1168*100],
[0,8/1168*100],8/1168*100],
[0,8/1168*100],8/1168*100],
[0,8/1168*100],8/1168*100]

这里是 article 讨论解决方案

使用Find -> Replace...

然后开启Regular expressionReplace All

这是您需要的正则表达式:,\d?/