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
VB equation is slightly off
Update HP onboard administrator SSH version?
What are all the improvments in DFS Windows server 2008
Wordpress widget with visual editor for non-HTML savvy users
Strange DNS issues - SBS 2008
configuring asa to PAT port 9191 to 9100
ORA: 6533 Subscript out of range
Office 2010 KMS on non-AD DNS?
How can I force Graphics.MeasureString to consider the font style?
backup VMware server