I have a CMS where I let the user to upload JS and HTML code and I want them use all possible HTML tags, and only tags I want to restrict are <PHP ?> and <? ?>
I know we have strip_tags but it only have the option of allow tags. I want something similar but with the option of ban tags.
Thanks
preg_match?