I have a regular expression question...
How would I use regular expressions to remove the contents in parenthesis in a string in C# like this:
"SOMETHING (#2)"
I have gotten some results like this: string pattern = @"\(#\d+\)"; Regex rgx = newRegex(pattern, RegexOptions.IgnoreCase); MatchCollection matches = rgx.Matches(interesting_string);
But I do not know what to do with the matches or what to do after this.