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
---------------------------------------------------------------
AUTHOR:testerZH
用途:菜鸟的个人学习记录,有不对的地方请指正!谢谢!
出处:http://www.cnblogs.com/testerZH/