regexIdCard18 property
Regex of id card number which length is 18.
Implementation
static final String regexIdCard18 =
'^[1-9]\\d{5}[1-9]\\d{3}((0\\d)|(1[0-2]))(([0|1|2]\\d)|3[0-1])\\d{3}([0-9Xx])\$';
Regex of id card number which length is 18.
static final String regexIdCard18 =
'^[1-9]\\d{5}[1-9]\\d{3}((0\\d)|(1[0-2]))(([0|1|2]\\d)|3[0-1])\\d{3}([0-9Xx])\$';