I have a couple of text files with html code in them.. e.g.

---------- Text File --------------
<html>
    <head>
        <title>This is Test File</title>
    </head>
<body>
<font size=2 face=arial>This is the test file contents<br>
<p>
blah blah blah.........
</body>
</html>

-----------------------------------------

What I want to do is to remove/delete HTML code from the text file from a certain tag 
upto certain tag.

For example; I want to delete the code completely that comes in between <head> and 
</head> (including any style tags and embedded javascripts etc)

Any ideas?

Thanks in advance.

Sara.

Reply via email to