package filter import "regexp" // FilterScriptTags 使用正则表达式过滤 HTML 文本中的 `) // 替换匹配的部分为空字符串 return re.ReplaceAllString(input, "") }