/*
@FileName: mregexp.go
@Time : 2020/3/14 15:25
@Author : Cocktail_py
*/
package main
import (
"fmt"
"regexp"
)
const text = `
My email is Cocktail_py@gamil.com@google.com
email1 is service@def.org
email1 help@qq.com.cn
`
func main() {
//MustCompile 必须符合
re := regex
golang邮箱提取
最新推荐文章于 2022-10-14 22:37:27 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)