VSRegex
ChinaMobilePhoneNumberRegex是iOS和macOS中Objective-C的应用程序包装器。
要求
- iOS 8.0+ / macOS X 10.9+ / tvOS 9.0+ / watchOS 2.0+
快速入门
#import "VSRegex.h"
BOOL isMatch = [VSRegex matchesWithString:@"+8613800138000"];
NSLog(@"%d", isMatch); // YES
安装
CocoaPods
pod 'VSRegex-Objc', '~> 1.0.0'
许可
MIT