PatternPooL

PatternPooL

new PatternPooL()

Source:

Members

BIRTHDAY :RegExp

Source:
生日
Type:
  • RegExp

CHINESE :RegExp

Source:
单个汉字
Type:
  • RegExp

CHINESES :RegExp

Source:
多个汉字
Type:
  • RegExp

CITIZEN_ID :RegExp

Source:
18位身份证
Type:
  • RegExp

CREDIT_CODE :RegExp

Source:
社会统一信用代码
第一部分:登记管理部门代码1位 (数字或大写英文字母)
第二部分:机构类别代码1位 (数字或大写英文字母)
第三部分:登记管理机关行政区划码6位 (数字)
第四部分:主体标识码(组织机构代码)9位 (数字或大写英文字母)
第五部分:校验码1位 (数字或大写英文字母)
Type:
  • RegExp

EMAIL :RegExp

Source:
符合RFC 5322规范 邮箱地址 正则来自:http://emailregex.com/
Type:
  • RegExp

GENERAL :RegExp

Source:
英文字母 、数字和下划线
Type:
  • RegExp

GENERAL_WITH_CHINESE :RegExp

Source:
中文字、英文字母、数字和下划线
Type:
  • RegExp

GROUP_VAR :RegExp

Source:
分组
Type:
  • RegExp

HEX :*

Source:
16进制
Type:
  • *

IPV4 :RegExp

Source:
ip v4
Type:
  • RegExp

IPV6 :RegExp

Source:
ip v6
Type:
  • RegExp

MAC_ADDRESS :*

Source:
MAC地址
Type:
  • *

MOBILE :RegExp

Source:
移动电话
Type:
  • RegExp

MONEY :RegExp

Source:
货币
Type:
  • RegExp

NUMBERS :RegExp

Source:
数字
Type:
  • RegExp

PLATE_NUMBER :RegExp

Source:
中国车牌号码(兼容新能源车牌)
Type:
  • RegExp

TIME :*

Source:
时间正则
Type:
  • *

URL :RegExp

Source:
URl
Type:
  • RegExp

URL_HTTP :RegExp

Source:
http url
Type:
  • RegExp

UUID :*

Source:
uuid
Type:
  • *

UUID_SIMPLE :*

Source:
不带下划线的uuid
Type:
  • *

WORD :RegExp

Source:
字母
Type:
  • RegExp

ZIP_CODE :RegExp

Source:
邮编
Type:
  • RegExp