need following output : 1) decimal value must be as it is 2) if we use "()" in input string as given in variable input1 = "pops + nts(1.75%)" , then its should remove that closing and opening bracket expected output: [0]="pops" 1="nts" [2]="1.75"
static void Main(string[] args) { //string input1 = "pops + nts(1.75%)"; string input2 = "pops + nts1.75%"; string[] Resul2 = Regex.Split(input2, @"(W+)(D+)(d+)"); }
