using System.Text.RegularExpressions;
using System.Collections.Generic;
public static void Main()
Regex reg = new Regex(@"Text + /^(?:100|[1-9]?[0-9])$");
List<string> myTexts = new List<string>() {"Text 1", "Text 2", "Text 3", "Text 500"};
foreach (var myText in myTexts)
Console.WriteLine($"There are {count} matches in the list");