MatchCollection collection2 = Regex.Matches(range.Text, @"(\W|^)u/s.(\W|$)"); count = collection2.Count;
string pattern = Regex.Escape("u/s."); MatchCollection collection2 = Regex.Matches(range.Text, @"(?:(?<=^|\s)(?=\S)|(?<=\S|^)(?=\s))" + pattern + @"(?:(?<=\S)(?=\s|$)|(?<=\s)(?=\S|$))", RegexOptions.IgnoreCase);
@"u/s\."
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)