php和.net使用正则表达式差不多,不过格式要正确
function transfor(&$str)
{
$str=preg_replace("/(/[[^/[]*/])/","",$str); //去掉<*******>
$str=preg_replace("/(/<br/>)/","",$str);
$str=preg_replace("/(/“)/","'",$str);
$str=preg_replace("/(/")/","'",$str);
}
php和.net使用正则表达式差不多,不过格式要正确
function transfor(&$str)
{
$str=preg_replace("/(/[[^/[]*/])/","",$str); //去掉<*******>
$str=preg_replace("/(/<br/>)/","",$str);
$str=preg_replace("/(/“)/","'",$str);
$str=preg_replace("/(/")/","'",$str);
}
您可能感兴趣的与本文相关的镜像
ACE-Step
ACE-Step是由中国团队阶跃星辰(StepFun)与ACE Studio联手打造的开源音乐生成模型。 它拥有3.5B参数量,支持快速高质量生成、强可控性和易于拓展的特点。 最厉害的是,它可以生成多种语言的歌曲,包括但不限于中文、英文、日文等19种语言

被折叠的 条评论
为什么被折叠?