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
How to store a set in a field and how to maintain it dyamically?
Counting number of days between two dates using C#
How can I prevent changes to web browser proxy settings?
PXE-E55: ProxyDHCP service did not reply to request on port 4011 Using SCCM 2007
How can i setup IIS on windows server 2008
How do I lookup and insert the foreign key value into a table when passing a variable value from different column in the related table?
PHP calling URL (which domain got me here?) PATH_INFO?
Custom Control Designer Error
Can't Remote Desktop to Forefront TMG Server
SEO // Useful Tool-Assistance?