src/ColorTag.php
public static function strip(string $text): string
    {
        if (false === \strpos($text, '</')) {
            return $text;
        }

        // $text = \strip_tags($text);
        return \preg_replace(self::STRIP_TAG, '', $text);
    }
public static function strip(string $text): string
    {
        if (false === \strpos($text, '</')) {
            return $text;
        }

        // $text = \strip_tags($text);
        return \preg_replace(self::STRIP_TAG, '', $text);
    }
public static function strip ( string $ text ) : string { if ( false === \ strpos ( $ text , '</' ) ) { return $ text ; } // $text = \strip_tags($text); return \ preg_replace ( self :: STRIP_TAG , '' , $ text ) ; }
Strip color tags from a string.
@param string $text
@return mixed
Strip color tags from a string .