Set FindItemRegEx=New RegExp 
FindItemRegEx.Pattern="yourPattern"
FindItemRegEx.Global = True
FindItemRegEx.IgnoreCase = True
Set Matches = FindItemRegEx.Execute(yourString)
If Matches.Count<>0 Then
For each Match in Matches
...
Next
End If
posted on 2011-10-28 14:34  testerZH  阅读(182)  评论(0编辑  收藏  举报