idwma 当前离线
少校
#@&cls&powershell "type %~s0|out-string|iex"&exit $a=gc -readcount 0 D:\UTF16.txt $b=(($a[-1..-500] -match '企业 ')[0] -split ' ')[6] $f=0 sc D:\out.txt $(foreach($i in $a){if(($f -eq 0) -and $i -match "简名:\S+\s$b"){$i;$f=1}elseif(($f -eq 1) -and $i -match '已执行'){$f=0;$i,''}elseif($f -eq 1){$i}})复制代码
TOP
简名:\S+\s$([regex]::escape($b))复制代码
#@&cls&powershell "type %~s0|out-string|iex"&exit $a=gc -readcount 0 D:\UTF16.txt $b=(($a[-1..-500] -match '企业 ')[0] -split ' ')[6] $f=0 sc D:\out.txt $(foreach($i in $a){if(($f -eq 0) -and $i -match "简名:\S+\s$([regex]::escape($b))"){$i;$f=1}elseif(($f -eq 1) -and $i -match '已执行'){$f=0;$i,''}elseif($f -eq 1){$i}})复制代码