RhSolutions-AddIn/Source/Assistant/SkuExtension.cs
Sergey Chebotar e175a634ce Refactoring. ExcelDNA.IntelliSense library add.
Add description to Excel functions.
2021-12-13 20:39:41 +03:00

12 lines
255 B
C#

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}$");
}
}
}