in reply to Help need with code loop

Just a bit more

The entire contents of a page will be in a variable called $html. I need a loop that will allow me to go through all the iterations of tag# that will parse $html for the text in between the open and closed tag name:

--> tag1=body

...would look for everything after <body> and before </body>. Remember that there can and will be multiple tag entries:

--> indexer.pl?tag1=body&tag2=title&tag3=....

TIA

======================
Sean Shrum
http://www.shrum.net