正则 摘要,显示在meta的description中 2021.11.20 2023.9.24 分类 15 1 分钟 reg, _ := regexp.Compile(`\s+`) r := reg.ReplaceAll(resBody, []byte("")) compile string to regexp, then replace all 作者:王书硕 链接:https://wss.cool/posts/后端/go/正则/ 许可:CC BY-NC-SA 4.0