Microsoft
Software
Hardware
Network
Question : How do I replace "(" using C# regex
I need to remove parens from a string.
Input String = "(test data)"
output String = "test data"
I want to use the Regex.Replace function as the parans can be anywhere in the string. I'm using C# language with visual studio 2008.
Answer : How do I replace "(" using C# regex
Do they have to be MATCHING parens? (thus the regex requirement)
If not, then just use string.Replace():
string str = "(test data)";
str = str.Replace("(", "").Replace(")", "");
Random Solutions
Could not reliably determine the server's fully qualified when trying to restart https service
BESX 5.0.1.4 and Exchange 2010 Users can't activate enterprise email
How to program well
unable to browse .asmx page in IIS7
can't get iPhone to connect to Exchange 2010 from outside...
Filtering the SSRS report based on multivalue multiple parameters passed to stored procedure
compile this code with Delphi 2010
how to replace all any chr(10)/chr(13) _not_ within html tags with a <br>
C# sharing variables or data between different classes
URGENT: Solaris virtual printer lpd printing setup