RhSolutions-AddIn/Source/Assistant/SkuExtension.cs

12 lines
255 B
C#
Raw Normal View History

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