Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
$foo =~ s|<\s*script[^>]*>.*?</script>||gis;
Can someone help me shore this up a bit?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Stripping the contents of Javascript tags
by Jenda (Abbot) on May 27, 2003 at 23:14 UTC | |
|
Re: Stripping the contents of Javascript tags
by sauoq (Abbot) on May 27, 2003 at 23:18 UTC | |
|
Re: Stripping the contents of Javascript tags
by Cody Pendant (Prior) on May 28, 2003 at 00:39 UTC | |
|
Re: Stripping the contents of Javascript tags
by Anonymous Monk on May 28, 2003 at 02:18 UTC | |
by Lachesis (Friar) on May 28, 2003 at 08:28 UTC | |
|
Re: Stripping the contents of Javascript tags
by svsingh (Priest) on May 27, 2003 at 23:03 UTC | |
by Cody Pendant (Prior) on May 28, 2003 at 00:26 UTC | |
by sauoq (Abbot) on May 27, 2003 at 23:20 UTC | |
by svsingh (Priest) on May 28, 2003 at 03:26 UTC |