I am trying to replace a single (last or next-to-last) match in a string. I have my Regular Expression already and it works, but it replaces ALL items, then I have to run back through and replace a single item.
Regex.Replace(BaseString, MatchString, ReplacementString)
I want to use MatchEvaluator but can't figure out how.
Any help?
Regex
instance.