src/str/str.php
public static function utf8(string $in_p)
    {
        $value = str_replace("<br>", "\n", $in_p);
        $value = str_replace("&nbsp;", " ", $value);
        $value = preg_replace('/<([\s\S]*?)>/u', '', $value);
        $value = preg_replace('/<\/([\s\S]*?)>/u', '', $value);
        return $value;
    }
public static function utf8(string $in_p)
    {
        $value = str_replace("<br>", "\n", $in_p);
        $value = str_replace("&nbsp;", " ", $value);
        $value = preg_replace('/<([\s\S]*?)>/u', '', $value);
        $value = preg_replace('/<\/([\s\S]*?)>/u', '', $value);
        return $value;
    }
public static function utf8 ( string $ in_p ) { $ value = str_replace ( "<br>" , "\n" , $ in_p ) ; $ value = str_replace ( "&nbsp;" , " " , $ value ) ; $ value = preg_replace ( '/<([\s\S]*?)>/u' , '' , $ value ) ; $ value = preg_replace ( '/<\/([\s\S]*?)>/u' , '' , $ value ) ; return $ value ; }
transform the given string into utf8 format strings
transform the given string into utf8 format strings