Return to Snippet

Revision: 20545
at November 18, 2009 11:47 by dx0ne


Initial Code
var htmlStr:String = "<a href='http://bewarz.of.warez.ru'>A dangerous link</a>";

var removeHTML:RegExp = new RegExp("<[^>]*>", "gi");

var safeStr:String = htmlStr.replace(removeHTML, "");

Initial URL
http://www.kirupa.com/forum/showpost.php?p=2254156&postcount=3

Initial Description

                                

Initial Title
remove html tags

Initial Tags

                                

Initial Language
ActionScript 3