swift 4 两种方式匹配文本中包含的URL链接
let content = "分享发红包的风格白癜风蝙蝠侠发布大风风格的分公司的\n奋斗故事如果生日公司的人过<br/><img src=\"https://img.aifootball365.cn/product/community/images/20180518/1526627127931.png\"><br/><img src=\"https://img.aifootball365.cn/product/community/images/20180518/1526627132497.png\"><br/><img src=\"https://img.aifootball365.cn/product/community/images/20180518/1526627137298.png\">"
let regularRange = NSRange(location: 0, length: content.count)
guard let detector = try? NSDataDetector(types: NSTextCheckingResult.