Strip tags with regular expression
Posted: Sat Oct 11, 2003 7:25 pm
I want to remove all <script>-tags and their content from a buch of HTML-files.
However, RegExps like
<script[^>]*>.*</script>
doesn't seem to work, since the "." operator excludes newline characters (\n)
How do I write a RegExp replace statement in TextPad that works with multi line strings?
However, RegExps like
<script[^>]*>.*</script>
doesn't seem to work, since the "." operator excludes newline characters (\n)
How do I write a RegExp replace statement in TextPad that works with multi line strings?