public void FindWindow_ProcessNameIsGeneral_FindsIt() { const string tableName = ".COM Play 1666 (6 max)"; string processName = new FullTiltPokerInfo().ProcessName; _windowFinder.FindWindowMatching( new Regex(Regex.Escape(tableName)), new Regex(processName), ptr => { Console.WriteLine("FoundWindow with Handle: {0}", ptr); return(true); }); }