function stripANSI( str ) {
	return replace( str, RE_ANSI, '' );
}
Removes ANSI escape codes from a string.

@private
@param {string} str - input string
@returns {string} string with ANSI escape codes removed