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
Editing the Windows Message "Your Account has Expired. Please contact your system administrator" for Windows XP Professional
I/O error reported on file system /oracle/P1U aix hdisk path vio
windows 2008 MYSQL5.1 and PHP5
How to determine hard disk activities
How to trace a phone without installing the software?
Outlook Web App (OWA) 2010 defaults to light version for specific user
Mitel Teleworker One Way Audio
Autloader and Cleaning Tape Mounts (Considered a "use" with every mount?)
Which Controller for 4 HD, RAID 1 mirrored drives?
How to install XP with F6 driver requirement and no floppy