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
Exchange Active Sync and self assigned certificates
Batch script to calculate elapsed time in seconds : must be able to handle if time crosses midnight
Need a regular expression
what port is currently being used
jQuery AutoComplete Problem
Dynamic naming of Java objects
Disable Shortcut Keys in axwindowsmediaplayer1 (media player)
Windows Update site fails to load
How to get an USB speaker to work with Eee PC 900 Xandros Linux
Windows server 2008 NPS & AD