Re: Remove javascript content from HTML page using Perl
From: Joe Smith (Joe.Smith_at_inwap.com)
Date: 08/12/04
- Next message: Joe Smith: "Re: $_ in condition"
- Previous message: Gunnar Hjalmarsson: "Re: $_ in condition"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 12 Aug 2004 18:20:50 GMT
Mark wrote:
/<script[^>]*>[^<]*<\/script>//gs would do what I wanted. It does handle the
s%<script.*?>.*?</script>%%gsi;
If that does not help, re-post your question to comp.lang.perl.misc
instead of comp.lang.perl .
-Joe
- Next message: Joe Smith: "Re: $_ in condition"
- Previous message: Gunnar Hjalmarsson: "Re: $_ in condition"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]