Page 1 of 1

remove javascript tag + events

Posted: Sat Sep 24, 2005 2:39 am
by jmut
Hi,
Does someone have (and is willing) to share regexp that will match all javascript tags + on_events.
I want to strip all those, since I am trying to validate tinyMCE and I don't want any client side scripting available.
Yes, I know I can configure tinyMCE somehow but it will take longer time I guess + it's not secure enough.
I searched the forum couldn't find anything.
Would have done it myself but have absolutely no time right now :( (as guess most of you)
Many thanks to all that help on this.

Posted: Sat Sep 24, 2005 5:31 am
by feyd
here's a start: viewtopic.php?t=25494

that can be found via the Useful Posts Thread