iOS 使用NSRegularExpression解析正则表达式
初始化一个 NSRegularExpression 对象 注:_str是要匹配的字符串NSRegularExpression *regex = [NSRegularExpression regularExpressionWithPattern:@"http://([\w-]+\.)+[\w-]+(/[\w- ./?%&=]*)?" options:NSRegularExpressionCaseInsensitive error:nil];获得所有匹...