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
Running RMI on Tomcat Servlet - How do I set up RMISecurityManager?
why avoid system tables?
Email sent to Tiscali email addresses bouncing with No PTR record error
Why don't Lotus Notes document links work when sent to MS Outlook emails.
Firebox X500 - Where to start....
Link to PDF files from DVD Menu
SBS 2008 strange issue
Fading in/out a popup Window in Flex 4.0
Returning 0 from a template member function when instantiated with aggregate types
Server 2008 NLB problem