vb.net 提取一级路径

页面导航:首页 > 软件编程 > vb.net > vb.net 提取一级路径

vb.net 提取一级路径

来源: 作者: 时间:2016-01-18 16:54 【

仓促写的有很多bugDim textArr As String() = File.ReadAllLines(D:\User\MythHack\Desktop\1.txt)dim s As String =For Each Str1 In textArrs = System.Text.RegularExpressions.Regex.Match...
 
仓促写的有很多bug
Dim textArr As String() = File.ReadAllLines(“D:\User\MythHack\Desktop\1.txt”)
dim s As String =”"
For Each Str1 In textArr
s &= System.Text.RegularExpressions.Regex.Match(Str1, “(?\/?.*?)\/”).Groups(“v”).Value & vbCr
Next
Dim a As StreamWriter = New StreamWriter(“D:\User\MythHack\Desktop\2.txt”)
a.WriteLine(s)
a.Close()
MsgBox(True)

摘自 http://www.mythhack.com/?p=1305
Tags:

文章评论

最 近 更 新
热 点 排 行
Js与CSS工具
代码转换工具

<