Retrieve string withing two tags
Posted: 12 Nov 2008 07:59
Hi,
I am trying to retrieve the string present between two tags, eg, between <s> and </s>.
These tags appear multiple times in my file, of size more than 5MB. I want to output the string present within these tags on a separate line in an output file.
How do I do this?
Thanks much in advance!
I am trying to retrieve the string present between two tags, eg, between <s> and </s>.
These tags appear multiple times in my file, of size more than 5MB. I want to output the string present within these tags on a separate line in an output file.
How do I do this?
Thanks much in advance!