Regular expression question
I know this isn't specifically a .net problem but i don't know which forum would be best to post this message.
Anyway, I need a regular expression that will match any word except a few that I specify.
So for example i might want to match anything that is not div or span (I am trying to make a regex that will clean all html tags except ones i specify).
I do not have a clue how to do this, can anyone help?