[Solved] The c# of this JavaScript “regex replace”? [closed]


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.

solved The c# of this JavaScript “regex replace”? [closed]