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
trying to print to HP laserjet 2050 - and constantly have to hit "ok" button to print
IP Address Contention
Moving shares in SBS server 2008
Juniper SA2500 SSL VPN and Windows 2008 R2 firewall problem
MSExchange ActiveSync Event ID 1040 Annoying?!
Windows Printer atutomatic disabled in Terminal services configuration (RDP-Tcp properties).
Should Sys Admins (Domain Admins) also have user accounts?
checking login & pass with curl
run time error: you entered an expression that has no value
Auto start and mount RAID array Linux