Hmm. What I meant is I needed it to save the rows of the TABLE. Not the html code itself. So it needs to save it only if it matches the wildcard matchtext (signifying its part of the table). And I needed it in 1 variable, with commas seperating each row of the table. I can do that part of it. I just need it to go on to the next line of code after the match text, to see if the next line also matches. This way I can catch all of the rows in the table.