in reply to Removing Javascript
Without knowing the context in which you want to strip - security? - it's hard to suggest best method.
What I would do, if possible, is work the other way round. Define a list of HTML tags/attributes that are valid and strip out everthing else.
.02
cLive ;-)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Removing Javascript
by Jenda (Abbot) on Jan 03, 2003 at 14:15 UTC |