所以我有一个文件,就像
2587, 1, 104, 971;
2586, 1, 104, 971;
2585, 1, 104, 971;
2584, 1, 104, 971;
2584, 1, 104, 971;
2584, 1, 104, 971;
2584, 1, 104, 971;
2584, 1, 104, 971;
2583, 1, 104, 971;
2582, 1, 104, 971;
2582, 1, 104, 971;
我必须将其更改为,
2587, 2, 104, 971;
2586, 2, 104, 971;
2585, 2, 104, 971;
2584, 2, 104, 971;
2584, 2, 104, 971;
2584, 2, 104, 971;
2584, 2, 104, 971;
2584, 2, 104, 971;
2583, 2, 104, 971;
2582, 2, 104, 971;
2582, 2, 104, 971;
我正在尝试使用正则表达式,但无法选择第二列,我使用了这个([^,.]*)
,任何指针?