RhSolutions-AddIn/Source/Assistant/SkuExtensions.cs

12 lines
256 B
C#
Raw Normal View History

using System.Text.RegularExpressions;
namespace RehauSku.Assistant
{
2021-12-22 17:07:37 +03:00
static class SkuExtensions
{
public static bool IsRehauSku(this string line)
{
return Regex.IsMatch(line, @"^[1]\d{6}[1]\d{3}$");
}
}
}