[C#] 验证邮政编码 (6个数字) →→→→→进入此内容的聊天室

来自 , 2020-11-02, 写在 C#, 查看 117 次.
URL http://www.code666.cn/view/4be5a36c
  1. /// 邮政编码 6个数字
  2.  
  3. public static bool IsPostCode ( string source )
  4. {
  5.         return Regex.IsMatch ( source, @"^\d{6}$", RegexOptions.IgnoreCase );
  6. }
  7.  

回复 "验证邮政编码 (6个数字)"

这儿你可以回复上面这条便签

captcha