<%
dim arrStr
dim theStr
theStr = xmldoc.documentelement.selectnodes("dataElementsMa ster").item(0).selectnodes("dataElementsIndiv").it em(2).selectnodes("miscellaneousRemarks").item(0). selectnodes("remarks").item(0).selectnodes("freete xt").item(0).text
Dim expr: Set expr = New RegExp
expr.Pattern = "[^:]*:([^,]*),?"
expr.Global = True
Dim match, matches
Set matches = expr.Execute(theStr)
For Each match In matches
response.write "item = " & match.SubMatches(0) & "<br />"
Next
Set matches = Nothing
Set expr = Nothing
%>
In the for loop above i want to pick out the 11th occurance of the loop and take the 1st two characters and put it into a variable.
How is this done?
Picco
www.crmpicco.co.uk