I've been using the folowing to strip out content in a document thats between certain tags and return the results in an array. There are multiple instances of this tag.
What I've been using looks like;
arrA = data.match(/<DATA>(.*)<\/DATA>/gi);
for (x=0; x<arrA.length; x++)
Response.Write(arrA + "<BR>");
But all this does is return 1 result between the first data tag and the very last tag. Ignoring the tags in between. I should get a number of results.
I hope this makes sense