Help a guy out with RegEx
OK, I get how to replace a group in Regex.Replace something like this:
Regex.Replace(@"(blah)(blah2)(blah3)", "new$2new", RegexOptions.IgnoreCase)
...where the result is "newblah2new"
But how would use replace "blah2" with something dynamically generated, namely another string based on "blah2"? I'm tripping all over the examples in the docs and need a little help.