更新时间:2022-12-27 22:16:50
try
gc .\0.txt | % { $_ -replace ' +',"`t" } | set-content .\temp.txt
Powershell Regex:仅用制表符替换多个空格
vim regex 仅用一个空格替换多个连续空格