https://site.com/@name/jpg/12345678910111212
https://site.com/@name/12345678910111212/jpg
https://site.com/@124341/12345678910111212/jpg
https://site.com/@12sccss4341/12345678910111212/jpg
12345678910111212
str := "https://site.com/@name/jpg/12345678910111212"
re := regexp.MustCompile(`(?m)(\d+)$`)
fmt.Println(re.FindString(str))