using System;
using System.Text.RegularExpressions;
public class Program
{
public static void Main()
string strTexto = "(12) 3456-7890";
strTexto = Regex.Replace(strTexto, "[\\(\\)\\-\\ ]", "");
Console.WriteLine(strTexto);
}