| 12345678910111213141516171819 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Text.RegularExpressions;
- using System.Threading.Tasks;
- namespace CallCenterApi.Common
- {
- public class RegexHelper
- {
- public static readonly string Reg_Pwd = @"^(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{6,16}$";
- public static bool RegexPwd(string password)
- {
- return Regex.IsMatch(password, Reg_Pwd);
- }
- }
- }
|