Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 | 1x 3x 3x | export const isID = (value: string): boolean => {
const reg = /^(^[1-9]\d{7}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}$)|(^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])((\d{4})|\d{3}[Xx])$)$/;
return reg.test(value);
};
|