public List<string> FindAllByPattern(string str, RegexOptions options) { MatchCollection mc = Regex.Matches(this.Text, str, options); var query = ( from m in mc.Cast<Match>() select m.Value ).ToList(); return query; }