idCard15 constant
String
const idCard15
Regex of id card number which length is 15.
Implementation
static const String idCard15 =
"^[1-9]\\d{7}((0\\d)|(1[0-2]))(([0|1|2]\\d)|3[0-1])\\d{3}\$";
Regex of id card number which length is 15.
static const String idCard15 =
"^[1-9]\\d{7}((0\\d)|(1[0-2]))(([0|1|2]\\d)|3[0-1])\\d{3}\$";