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
SQL Substr Order
Cisco VTY Access to particular line number
SharePoint - single user can't access Rich Text Editor
asp.net SQL Filestream access is denied
how to find my Symantec pcAnywhere serial number
Hyperlink Pop UP
How to Configure Link aggregation on Cisco 3560G?
UI Design - How to mockup .net application?
How can I send HTML formatted emails to someone who signs up on my site
WIN Network on SBS 2K3 server has disappeared