Hello,
I was wondering if someone could help me with a couple of expressions that I can't seem to get right. I get close, but not exact.
I was able to get everything between the body tags on an HTML page. Now, I want to strip out all of the script tags. Since script tags can be <script>Some words</script> or <script /> I am having a hard time with this one. here is the script I have so far.
I am also trying to strip out all of the other tags, to get the inner text as well, but can't seem to get close to doing that.Code:(?=<script.*/>)|(?=<script.*>).*(?<=</script>)
Thank you for your help.




Reply With Quote