12 lines
246 B
C#
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}$");
|
|
}
|
|
}
|
|
} |