1.0.2 • Published 6 years ago

huaji v1.0.2

Weekly downloads
3
License
ISC
Repository
-
Last release
6 years ago

huaji

常用正则表达式大全

安装

npm install --save huaji

使用

const UsefulRegex = require('huaji');
const isChinese = UsefulRegex.Chinese.test('中文');

正则列表

描述
Chinese中文字符
DoubleCharacter双字节字符
Phone中国大陆手机号 (移动/联通/电信)
PhoneYidong中国移动
PhoneLiantong中国联通
PhoneDianxin中国电信
Email邮箱
URI统一资源标识符
URL统一资源定位符
QQQQ号码
PostalCode邮政编码
IDCard身份证
Integer整数
PositiveInteger正整数
NegtiveInteger负整数
NonPositiveInteger非正整数
NonNegtiveInteger非负整数
1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago