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
Split strings with RegEx
Mac Mail only shows 90 days of deleted items
What does it mean if I am receiving output errors on all of my Cisco Aironet 1130AG?
unknown process - should I be concerned
SPSS - Modify Output of Crosstabs
call .rdl with store procedure with parameter
Access 2003 -> Word 2003 - have a question on code that works to save doc as pdf file...
compareTo() - JavaScript example needed
To Blob Cache or NOT?
Need HP DMI Utility