回复 1# xlcwxl
#include <array.au3>
$Str = _
' 7-Zip65 Copyright (c) 1999-2009 Igor Pavlov 2009-02-03' & @CRLF & _
'' & @CRLF & _
'' & @CRLF & _
' 列举压缩文件: Soft.7z' & @CRLF & _
'' & @CRLF & _
'' & @CRLF & _
' 算法 = LZMA BCJ2' & @CRLF & _
' 固实文件 = +' & @CRLF & _
' 模块数 = 2' & @CRLF & _
' 物理大小 = 1938946' & @CRLF & _
' 头部大小 = 276' & @CRLF & _
'' & @CRLF & _
'' & @CRLF & _
' 日期 时间 属性 源文件 压缩后 Name' & @CRLF & _
' ------------------- ----- ------------ ------------ ------------------------' & @CRLF & _
' 2010-02-09 15:37:17 ....A 659116 242830 Test.exe' & @CRLF & _
' 2009-08-17 20:48:39 ....A 1685311 1695840 文件夹1\文件夹2\Test.exe' & @CRLF & _
' 2009-08-17 20:48:39 ....A 1685311 文件夹1\Test.exe' & @CRLF & _
' 2010-02-19 20:18:48 D.... 0 0 文件夹1\文件夹2' & @CRLF & _
' 2010-02-19 20:18:55 D.... 0 0 文件夹1' & @CRLF & _
' ------------------- ----- ------------ ------------ ------------------------' & @CRLF & _
' 4029738 1938670 3 文件数, 2 文件夹数' & @CRLF & _
'' & @CRLF & _
'复制代码' & @CRLF & _
''
$Resutl=StringRegExp($Str,'\d{4}-\d{2}-\d{2}\h\d{2}:\d{2}:\d{2}.*\h(\D.*)',3)
_ArrayDisplay($Resutl)
|