0.1.0 • Published 6 years ago

useful-regex v0.1.0

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

useful-regex

常用正则表达式大全

安装

npm install --save useful-regex

使用

const UsefulRegex = require('useful-regex');
const isChinese = UsefulRegex.Chinese.test('中文');

正则列表

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

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago