Retrieve string withing two tags

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
EditTextFile
Posts: 1
Joined: 12 Nov 2008 07:51

Retrieve string withing two tags

#1 Post by EditTextFile » 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!

Post Reply