[ad_1]
C# has a static method for matching for replacing a string treated as a pattern on the fly:
text = Regex.Replace(Regex.Replace(text, @"[^>]+", ""), @"[,:;()/&+]|--", " ");
The Regex.Replace method automatically does a global replace.
[ad_2]
solved The c# of this JavaScript “regex replace”? [closed]