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
lpr print server issue
Exchange 2010 Tarpit issue
quick question
Download Manager
How do I fix odbc call failed #1062 under access vba with a mysql backend?
Progress Bar Bound to Timer
Outlook can not verify valid mailbox
How to change Hotsname and ipaddress of Oracle Databse server
Windows Server 2008 - RAID storage > 2 Tb
How to disable form fields in Coldfusion flash form by clicking a checkbox?