hi,
i want to find some pattern ([digits]) in my string so i wrote-
but im getting only "[8]" , why im not getting [1] and [2]?Code:Dim s As String
s = "i am[8] [1] and [2]"
Dim reg As New RegExp
reg.Pattern = "\[\d\]"
Dim m As Match
Dim list As MatchCollection
Set list = reg.Execute(s)
For Each m In list
MsgBox (m.Value)
Next
thanks in advanced.
