Return to Snippet

Revision: 40470
at February 2, 2011 16:59 by chrisitan


Initial Code
//strip Font Tags

function stripFont(string:String):String
{
	var s:String = string;
	var regexp:RegExp = /<\/?font[^>]*>/gi;
	return s.replace(regexp,"");
}

Initial URL


Initial Description
removes all font tags from a string

Initial Title
Strip Font Tags

Initial Tags


Initial Language
ActionScript 3