impk 当前离线
一级士官
@echo off for /f "tokens=3 delims=\" %%a in ( 1.txt ) do ( echo %%a >2.txt ) pause复制代码
@echo off for /f tokens^=2^ delims^=^" %%a in ( 1.txt ) do ( echo %%a >2.txt ) pause复制代码
TOP
netdzb 当前离线
上尉
smss 当前离线
中尉
$f =gc 1.txt -readcount 0 -enc utf8; $src =[regex]::matches($f,'(?is)(?<=\bsrc=")[^"]+\b').value; $out ='图片地址="'+($src -join ',')+'"' sc '.\2.txt' -value $out -force;复制代码