hi,

i want to find some pattern ([digits]) in my string so i wrote-
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
but im getting only "[8]" , why im not getting [1] and [2]?

thanks in advanced.