Sort of:
string line = "insert into depdb..fin_quick_code_met"; foreach(Match match in Regex.Matches(line, @"(\w*)\.\.")) { Console.WriteLine(match.Groups[1]); }
or just one (first) match in a string:
Match match = Regex.Match(line, @"(\w*)\.\."); if (match.Success) { Console.WriteLine(match.Groups[1]); }
Get the full depdb..fin_quick_code_met ; same code but with @"\w*\.\.\w* looking at match.Value .
source share