标签:
- (BOOL)achiveStringWithWeb:(NSString *)infor
{
NSString *emailRegex = @"[a-zA-z]+://.*";
NSPredicate *emailTest = [NSPredicate predicateWithFormat:@"SELF MATCHES %@", emailRegex];
return [emailTest evaluateWithObject:infor];
}
标签:
原文地址:http://www.cnblogs.com/diweinan/p/4553968.html