📌  相关文章
📜  正则表达式来识别数字和字母数字 - 无论代码示例

📅  最后修改于: 2022-03-11 14:55:20.905000             🧑  作者: Mango

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