public static void Main()
string FaetValue="Home Appliances[#home-appliances#](#6179#)";
string[] CategoryName=new string[FaetValue.Length];
CategoryName = FaetValue.Split(new string[] { "[#" }, StringSplitOptions.None);
String CategoryUrl = CategoryName[1].ToString();
string[] StrCategoryUrl = CategoryUrl.Split(new string[] { "#]" }, StringSplitOptions.None);
String CategoryId = CategoryName[1].ToString();
string[] StrCategoryId = CategoryId.Split(new string[] { "#](#" }, StringSplitOptions.None);
Console.WriteLine( CategoryName[0] +" "+ StrCategoryUrl[0] +" "+StrCategoryId[1].Substring(0, StrCategoryId[1].Length - 2));