back to krasimirtsonev.com
to blog's home page

Remove tags from a string in AS3

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:

Sharing ...
Commenting ...
blog comments powered by Disqus