Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var matches = Regex.Matches(text,pattern,RegexOptions.Singleline);
- matched = false;
- foreach (Match m in matches)
- {
- DataRow newRow = matchedGroups.NewRow();
- newRow["Group"] = m.Groups[1].Value;
- matchedGroups.Rows.Add(newRow);
- matched = true;
- }
- oMatchedGroups = matchedGroups;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement