find-phone go get github.com/sonnam0904/find-phone #Use import ( "github.com/sonnam0904/find-phone" ) // get all phone in string res := phone.GetPhone(s) // replace all phone into *** in string s := phone.HiddenPhone(s)