RhSolutions-AddIn/src/AddIn/SkuExtensions.cs
2022-02-04 17:13:47 +03:00

12 lines
246 B
C#

using System.Text.RegularExpressions;
namespace RehauSku
{
static class SkuExtensions
{
public static bool IsRehauSku(this string line)
{
return Regex.IsMatch(line, @"^[1]\d{6}[1]\d{3}$");
}
}
}