HEllo community, I have an odd question.

THis is a VB question because i want to automate this procedure with an app.
Import text file.. Strip.. then save striped version..

I have to format some HTML code by stripping out the script sections...


For example..This is what i have

Code:
<html>
<body> yadda
<script> yadda yadda
</Script>
<br>
<script> yadda yadda
</Script>
</body>
</html>
THis is what i want...

Code:
<html>
<body> yadda
<br>
</body>
</html>
Im seeking help on the logic used to parce through the text file removing the scripting elemets as it finds them...