iphone匹配邮箱的正则表达式

NSString *str = [NSString stringWithString:@"\\b([a-zA-Z0-9%_.+\\-]+)@([a-zA-Z0-9.\\-]+?\\.[a-zA-Z]{2,6})\\b"];

posted @ 2016-02-20 09:14  木木文  阅读(188)  评论(0编辑  收藏  举报