diff --git a/core/node_strings.go b/core/node_strings.go index b2a397c..3c1ad48 100644 --- a/core/node_strings.go +++ b/core/node_strings.go @@ -174,5 +174,5 @@ func (sender *Strings) ReplaceToEmojis(str string, pattern string) string { } func (sender *Strings) ExtractAddress(input string) string { - return regexp.MustCompile(`http[s]?://[\w.]+:\d*`).FindString(input) + return regexp.MustCompile(`http[s]?://[\w.]+:?\d*`).FindString(input) }