Hi,
I'm trying to get an option to remove BBcode in a textarea like what they have here (the button with the big red X when you post) e.g.
[/ quote] [font= ][/font ] etc.
I've managed to read the contents of the textarea into a function and I've tried a few regex's but nothing seems to work.
Most of the regexs I've tried are to get the contents of the [] tags but I want to remove the content and the [] tags themselves.
Any ideas???