using System.Text.RegularExpressions;
public static void Main ()
IronHorse IH = zClass.context;
Console.WriteLine("IronHorse is null");
Regex rx = new Regex(@"^([A-Za-z0-9 ])+$",
RegexOptions.Compiled | RegexOptions.IgnoreCase);
string text = "Keith Moyers";
MatchCollection matches = rx.Matches(text);
Console.WriteLine("{0} matches found in:\n {1}",
foreach (Match match in matches)
GroupCollection groups = match.Groups;
Console.WriteLine("'{0}' repeated at positions {1} and {2}",
public IronHorse context {get; set;}
public string context {get; set;}