//获取url数组 NSArray *urlArr = [SHMatching urlArrWithString:str]; //电话 NSArray *phoneArr = [SHMatching phoneNumArrWithString:str]; //邮箱 NSArray *emailArr = [SHMatching emailStringArrWithString:str]; NSAttributedString *att_str1 = [[NSAttributedString alloc]initWithString