c# 正则表达式

xiaoxiao2021-02-28  104

var dealerID=“avc123”;

 Regex reg = new Regex(@"^[a-zA-Z0-9]{10,20}$", RegexOptions.IgnoreCase | RegexOptions.Compiled);

                return reg.IsMatch(dealerID);
转载请注明原文地址: https://www.6miu.com/read-54599.html

最新回复(0)