public PatternStrategy(string regex, string replacement) { _regex = new Regex(regex, RegexOptions.Compiled); _replacement = replacement; }