2023年10月23日 星期一
在Delphi中使用正则表达式校验中文姓名
红鱼儿 | 博客园_红鱼儿 |15:03:00
uses system.RegularExpressions; function IsChineseName(const aName:string; const aMaxLength:Integer=10):Boolean;begin //只检查基本汉字: // var Pattern := '^[
![]() |
最佳浏览:谷歌浏览器 |
红鱼儿 | 博客园_红鱼儿 |15:03:00
uses system.RegularExpressions; function IsChineseName(const aName:string; const aMaxLength:Integer=10):Boolean;begin //只检查基本汉字: // var Pattern := '^[