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
recover missing emails - information store service stopped
Jumbo frame configuration is saved where?
A critical function required for the transfer of delivery of the message was not supported by the originator of the report
PHP Statement that shows a percentage of a price
ASA 5505 DMZ won't Access Internet
Cannot re-enable firewall with group policy
FAXCOOLWAREZ037 192.168.1.38 00-1A-73-C3-39-8A
SBS2008 migration to Windows 2008 Std
ACT Sage, reattach a database that has already been re-created possible?
How can I rotate a video?