xczxczxcz (Tα酱油路过)当前离线
中尉
$str='[00:31.71]风[00:32.51]停[00:32.90]了[00:33.26]云[00:33.56]知[00:33.90]道[00:35.01]' $a=$str.Split('][') -notmatch '^$' $ok="[$($a[0])]"+$($a -notmatch ':' -join '') +"`n[$($a[-1])]"复制代码
TOP
$str= $str -replace '\[|\]|\d+:\d+\.\d+' -join ''复制代码