Remove tags from a string in AS3
posted in /home/ActionScript on 2010-06-30 |
A couple of months ago I integrated a nice WYSIWYG editor written in Flex in my CMS. It worked fine, till yesterday I needed to add more features like text formatting and font color changing. As you know the Flex RichTextEditor component adds some additional tags that I definitely don't want to send to the database. So I wrote a simple function to remove these tags.
And a way of how I use it:
And a way of how I use it:
Delicious