in reply to Stripping the contents of Javascript tags
<!--[if IE]><script language=javascript>ie5=1;</script><![endif]-->
Using the regexes suggested, the <script>..</script> tags are removed, but the Microsoft garbage remains. Is there a way to roll two more regexes that can strip "normal" comments, and additionally strip this Microsoft comment garbage as well? (prominently found in Yahoo's main page)
Thanks for the help.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Stripping the contents of Javascript tags
by Lachesis (Friar) on May 28, 2003 at 08:28 UTC |