String text = “The Champion,(David), participant No. A345B(Runner), from University had won gold (testing) on (06.06.2019) at (Asia). His timing is 2mins.”
String text1 = text.Replace(“(”," ")
String Final = text.Replace(“)”," ")
Basically replace ( and ) with a space. let me know if it worked !
String text = “The Champion,(David), participant No. A345B(Runner), from University had won gold (testing) on (06.06.2019) at (Asia). His timing is 2mins.”
String ReplacedText = text.Replace(“(”," ")
String Final = ReplacedText.Replace(“)”," ")
First store the result in ReplacedText .
In second assign use ReplacedText.replace as shown above and store the result in Final.