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
GridView update is not grabbing the new data when Updating
Microsoft Exchange Outlook Anywhere SSL Issue
Terminal server 2008 R2 Pinned Taskbar Links
syslink Router
Registry, Winlogon, KEY_WOW64_64KEY errors
Safari beach ball when I open it
User activity in solaries
Setting Dell 2330dn Printer to Automatically Print from Multi-Purpose Tray
Two IPs on the same dot com
SQL database issues over ipsec site to site tunnel on Juniper SSG520