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
Looking for a Font
CSS Bullets
perl script to find the netid given ip and subnet mask?
Mounting Exchange Information Store Freezes Server
Windows Service crashing on one machine, not on the other
Wireless LAN , Larger Scale
how to enable java in ipad sfari
Whats wrong with my css?
SBS 2008 shared folder permissions problem - read only - need full control
interactive services detection stopped working