Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <VAR NAME="sf_name" ID="1001210">
- ID="(d+)"
- Regex r = new Regex("ID="(\d+)"");
- string outputXml = r.Replace(inputXml, new MatchEvaluator(ReplaceFunction));
- public string ReplaceFunction(Match m)
- {
- // do stuff with m.Groups(1);
- return result.ToString();
- }
Add Comment
Please, Sign In to add comment