我想要以下条件的正则表达式,
例如.
提前致谢.我的代码
NSPredicate *regex = [NSPredicate predicateWithFormat:@"SELF MATCHES %@", @"^(?[0-9])(?[a-zA-Z]){7,}$"];
BOOL isvalid = [regex evaluateWithObject:string];
Run Code Online (Sandbox Code Playgroud)
抱歉,我找不到以前用过的正则表达式.
regex ×1