本帖最后由 gzh888666 于 2011-10-5 01:49 编辑
D:\ProgramFiles\Hintsoft\PubwinServer\appServ\server\webapps\NetCafe\advertise\bn110815001.swf
D:\P ...
tarcy118 发表于 2011-10-5 00:40 #include <Array.au3>
Local $Str = _
'D:\ProgramFiles\Hintsoft\PubwinServer\appServ\server\webapps\NetCafe\advertise\bn110815001.swf' & @CRLF & _
'D:\ProgramFiles\Hintsoft\PubwinServer\appServ\server\webapps\NetCafe\advertise\mssj110916ica.swf' & @CRLF & _
'D:\ProgramFiles\Hintsoft\PubwinServer\appServ\server\webapps\NetCafe\advertise\fkxd110926pop.swf' & @CRLF & _
'D:\ProgramFiles\Hintsoft\PubwinServer\appServ\server\webapps\NetCafe\advertise\ppzs110929ica.swf' & @CRLF & _
'D:\ProgramFiles\Hintsoft\PubwinServer\appServ\server\webapps\NetCafe\advertise\cso111003pop.swf' & @CRLF
Local $Test = StringRegExp($str, '([^\\]+?)\n', 3)
If Not @Error Then MsgBox(0, '匹配数量: ' & UBound($Test), '其中[0]元素为: ' & $Test[0])
_ArrayDisplay($Test, UBound($Test))
|