Convert regex matches to the list of strings
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm trying to find equal sub-string in big list about 50 000 strings, this way fine: var results = myList.FindAll(delegate (string s) { return s.Contains(myString); }); but it also looks for sub-string with part of word, for example, if I'm looking for "you do" it founds also extra "you dont" because contains "you do..". So, this answer to my previous question supposedly should work as i need, but I'm not sure, how to get strings list from regex matches for particular code: foreach (string phrase in matchWordsList) { foreach (string str in