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
Motherboard driver CD for HCL - P5GD2-TVM/GB/SI
converting an Exchange/SQL server machine to VM using sysinternals tool
There is a problem communicating with the CRM server. The server might be unavailable. Try again later
SQL Simple syntax issue - based on Group By / Having
Running the System Update readiness tool.
How do I activate a product key for Windows 7 professional on a pushed machine
how can i translate gujarati sentence into english sentence ??
Extract date and part of the line from a log file
How do I convert an INT into a VARCHAR or STRING for use in CASE
WSUS Clients not reporting to the WSUS console or SBS 2008 Console