What is the PHP preg_replace in C#?
I have an array of string that I would like to replace by an other array of string. Here is an example in PHP. How can I do something like that in C# without using .Replace("old","new").
$patterns = '/=C0/'; $patterns = '/=E9/'; $patterns = '/=C9/'; $replacements = 'à'; $replacements = 'é'; $replacements = 'é'; return preg_replace($patterns, $replacements, $text);