using System.Collections.Generic;
using System.Collections.Specialized;
using System.Configuration;
using System.Data.SqlClient;
using System.Globalization;
using System.Linq.Expressions;
using System.Threading.Tasks;
using System.Diagnostics;
using System.Text.RegularExpressions;
public static void Main()
string res = "hello(hi,mo,wo,ka)";
var regex = Regex.Match(res, "\\(([^)]+)\\)");
var result = regex.Groups[1].Value.Replace(',','*');
Console.WriteLine(result);