📌  相关文章
📜  正则表达式,除了字母数字验证 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:04:18.753000             🧑  作者: Mango

代码示例3
validPattern = "^[a-zA-Z0-9]{10}$"; // alphanumeric exact 10 letters
this.projectForm = this.fb.group({
 ...
 CIG: [null, [Validators.required, Validators.pattern(this.validPattern)],