string s1, s2 s1 = @"^\d*[0-9](|"; s2 = @"|\s)\d*[0-9]*$"; string regx = s1 + Functions.ToString(ConfigurationManager.AppSettings["BulkCaseSeparator"].ToString() + s2); RegularExpressionValidator1.ValidationExpression = regx;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)