16,554
社区成员
发帖
与我相关
我的任务
分享
Private Sub aaaaaaaa()
Dim Str_TXT As String = "a1234567899asdf147852369632easdf5852adf85569999999999999999999999999afas5555555555555989"
Dim r As Regex
Dim m As Match
r = New Regex("(\d{9,})", IgnoreCase Or Compiled)
m = r.Match(Str_TXT)
While m.Success
MessageBox.Show(m.Groups(1).Value, "注意")
m = m.NextMatch()
End While
End Sub