xczxczxcz (Tα酱油路过)当前离线
中尉
Ls *.txt|%{[regex]::Replace((gc $_ -raw),'(?<1>\d{6}\|)','${1}111|')|sc $_ -Force}复制代码
Ls *.txt|%{[regex]::Replace(((gc $_) -join "`r`n"),'(?<1>\d{6}\|)','${1}111|')|sc $_ -Force}复制代码
TOP