RhSolutions-AddIn/Source/Assistant/SkuExtensions.cs
2021-12-22 17:07:37 +03:00

12 lines
256 B
C#

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