mirror of
https://github.com/any86/any-rule.git
synced 2025-07-14 15:38:58 +08:00
commit
89235cd9fc
@ -330,5 +330,20 @@ module.exports = [{
|
||||
title:'数字和英文字母组成,并且同时含有数字和英文字母',
|
||||
rule:/^(?=.*[a-zA-Z])(?=.*\d).+$/,
|
||||
examples: ['我a我1我', 'a对1']
|
||||
}
|
||||
];
|
||||
},
|
||||
{
|
||||
title: '香港身份证 ',
|
||||
rule: /^[a-zA-Z]\d{6}\([\dA]\)$/,
|
||||
examples: ['K034169(1)']
|
||||
},
|
||||
{
|
||||
title:'澳门身份证 ',
|
||||
rule: /^[1|5|7]\d{6}[(\d)]{3}$/,
|
||||
examples: ['5686611(1)']
|
||||
},
|
||||
{
|
||||
title: '台湾身份证 ',
|
||||
rule: /^[a-zA-Z][0-9]{9}$/,
|
||||
examples: ['U193683453']
|
||||
},
|
||||
];
|
||||
|
Loading…
x
Reference in New Issue
Block a user